aboutsummaryrefslogtreecommitdiff
path: root/audio/x11amp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-18 07:57:22 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-18 07:57:22 +0000
commit5f88bc48a0377f0bf00d2f30b947850cf29de9e6 (patch)
treeba7734eded4a6587f8d02953f88cc6a077902e1e /audio/x11amp
parente86227554d6e2fe24a56b8cc699fa9e5fd35c1ee (diff)
downloadports-5f88bc48a0377f0bf00d2f30b947850cf29de9e6.tar.gz
ports-5f88bc48a0377f0bf00d2f30b947850cf29de9e6.zip
Notes
Diffstat (limited to 'audio/x11amp')
-rw-r--r--audio/x11amp/Makefile2
-rw-r--r--audio/x11amp/files/patch-x11amp-input.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/x11amp/Makefile b/audio/x11amp/Makefile
index 4f2c32e520c3..ed3221c84211 100644
--- a/audio/x11amp/Makefile
+++ b/audio/x11amp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= x11amp
PORTVERSION= 0.9.b1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/misc/x11amp/0.9/ \
ftp://ftp.x11amp.bz.nu/x11amp/0.9/ \
diff --git a/audio/x11amp/files/patch-x11amp-input.c b/audio/x11amp/files/patch-x11amp-input.c
new file mode 100644
index 000000000000..ecbfd2e533fb
--- /dev/null
+++ b/audio/x11amp/files/patch-x11amp-input.c
@@ -0,0 +1,13 @@
+--- x11amp/input.c.orig Thu Jan 18 01:29:04 2007
++++ x11amp/input.c Thu Jan 18 01:30:03 2007
+@@ -650,8 +650,8 @@
+ #define LOG2_N_WAVE 10 /* log2(N_WAVE) */
+ #define N_LOUD 100 /* dimension of Loudampl[] */
+
+-extern fixed Sinewave[N_WAVE]; /* placed at end of this file for clarity */
+-extern fixed Loudampl[N_LOUD];
++static fixed Sinewave[N_WAVE]; /* placed at end of this file for clarity */
++static fixed Loudampl[N_LOUD];
+ static int db_from_ampl(fixed re, fixed im);
+ static fixed fix_mpy(fixed a, fixed b);
+