diff options
author | arved <arved@FreeBSD.org> | 2003-02-11 22:28:31 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-02-11 22:28:31 +0000 |
commit | f21facd1e8425a97bb283804d93d6b71ff0ec5e0 (patch) | |
tree | 31918a504830e0f6e233640302c4d9ce575f9f11 /audio | |
parent | 595997f5df6e9cee3dfaa549841ab78fd6cc1432 (diff) | |
download | FreeBSD-ports-f21facd1e8425a97bb283804d93d6b71ff0ec5e0.zip FreeBSD-ports-f21facd1e8425a97bb283804d93d6b71ff0ec5e0.tar.gz |
Fix Build on STABLE.
PR: 48168
Submitted by: Volker Stolz <vs@foldr.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/blop/Makefile | 1 | ||||
-rw-r--r-- | audio/blop/files/patch-src-sequencer16_1677.so.c | 27 | ||||
-rw-r--r-- | audio/blop/files/patch-src-sequencer32_1676.so.c | 27 | ||||
-rw-r--r-- | audio/blop/files/patch-src-sequencer64_1675.so.c | 27 |
4 files changed, 82 insertions, 0 deletions
diff --git a/audio/blop/Makefile b/audio/blop/Makefile index 85d791f..aabe48d 100644 --- a/audio/blop/Makefile +++ b/audio/blop/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa .if !exists(/usr/include/getopt.h) LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lgnugetopt" .endif USE_GMAKE= yes diff --git a/audio/blop/files/patch-src-sequencer16_1677.so.c b/audio/blop/files/patch-src-sequencer16_1677.so.c new file mode 100644 index 0000000..6217362 --- /dev/null +++ b/audio/blop/files/patch-src-sequencer16_1677.so.c @@ -0,0 +1,27 @@ +--- src/sequencer16_1677.so.c.orig Tue Feb 11 09:18:27 2003 ++++ src/sequencer16_1677.so.c Tue Feb 11 09:18:44 2003 +@@ -132,6 +132,8 @@ + void runSequencer(LADSPA_Handle instance, + unsigned long sample_count) + { ++ int i,rst; ++ unsigned long s; + Sequencer *plugin = (Sequencer *)instance; + + /* Gate */ +@@ -165,14 +167,11 @@ + unsigned int loop_index = f_round_i(loop_steps); + loop_index = loop_index == 0 ? 1 : loop_index; + loop_index = loop_index > 16 ? 16 : loop_index; +- int rst = f_round_i(reset); +- int i; ++ rst = f_round_i(reset); + + for (i = 0; i < 16; i++) { + values[i] = *(plugin->values[i]); + } +- +- unsigned long s; + + for (s = 0; s < sample_count; s++) { + if (gate[s] > 0.0f) { diff --git a/audio/blop/files/patch-src-sequencer32_1676.so.c b/audio/blop/files/patch-src-sequencer32_1676.so.c new file mode 100644 index 0000000..b17cdc6 --- /dev/null +++ b/audio/blop/files/patch-src-sequencer32_1676.so.c @@ -0,0 +1,27 @@ +--- src/sequencer32_1676.so.c.orig Tue Feb 11 09:17:55 2003 ++++ src/sequencer32_1676.so.c Tue Feb 11 09:18:15 2003 +@@ -132,6 +132,8 @@ + void runSequencer(LADSPA_Handle instance, + unsigned long sample_count) + { ++ int i,rst; ++ unsigned long s; + Sequencer *plugin = (Sequencer *)instance; + + /* Gate */ +@@ -165,14 +167,11 @@ + unsigned int loop_index = f_round_i(loop_steps); + loop_index = loop_index == 0 ? 1 : loop_index; + loop_index = loop_index > 32 ? 32 : loop_index; +- int rst = f_round_i(reset); +- int i; ++ rst = f_round_i(reset); + + for (i = 0; i < 32; i++) { + values[i] = *(plugin->values[i]); + } +- +- unsigned long s; + + for (s = 0; s < sample_count; s++) { + if (gate[s] > 0.0f) { diff --git a/audio/blop/files/patch-src-sequencer64_1675.so.c b/audio/blop/files/patch-src-sequencer64_1675.so.c new file mode 100644 index 0000000..f77dcc7 --- /dev/null +++ b/audio/blop/files/patch-src-sequencer64_1675.so.c @@ -0,0 +1,27 @@ +--- src/sequencer64_1675.so.c.orig Tue Feb 11 09:17:22 2003 ++++ src/sequencer64_1675.so.c Tue Feb 11 09:17:46 2003 +@@ -132,6 +132,8 @@ + void runSequencer(LADSPA_Handle instance, + unsigned long sample_count) + { ++ int i,rst; ++ unsigned long s; + Sequencer *plugin = (Sequencer *)instance; + + /* Gate */ +@@ -165,14 +167,11 @@ + unsigned int loop_index = f_round_i(loop_steps); + loop_index = loop_index == 0 ? 1 : loop_index; + loop_index = loop_index > 64 ? 64 : loop_index; +- int rst = f_round_i(reset); +- int i; ++ rst = f_round_i(reset); + + for (i = 0; i < 64; i++) { + values[i] = *(plugin->values[i]); + } +- +- unsigned long s; + + for (s = 0; s < sample_count; s++) { + if (gate[s] > 0.0f) { |