View | Details | Raw Unified | Return to bug 48168
Collapse All | Expand All

(-)blop/Makefile (+1 lines)
Lines 15-20 Link Here
15
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
15
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
16
.if !exists(/usr/include/getopt.h)
16
.if !exists(/usr/include/getopt.h)
17
LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
17
LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
18
CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib -lgnugetopt"
18
.endif
19
.endif
19
20
20
USE_GMAKE=	yes
21
USE_GMAKE=	yes
(-)blop/files/patch-src-sequencer16_1677.so.c (+27 lines)
Line 0 Link Here
1
--- src/sequencer16_1677.so.c.orig	Tue Feb 11 09:18:27 2003
2
+++ src/sequencer16_1677.so.c	Tue Feb 11 09:18:44 2003
3
@@ -132,6 +132,8 @@
4
 void runSequencer(LADSPA_Handle instance,
5
                   unsigned long sample_count)
6
 {
7
+    int i,rst;
8
+    unsigned long s;
9
     Sequencer *plugin = (Sequencer *)instance;
10
 
11
     /* Gate */
12
@@ -165,14 +167,11 @@
13
     unsigned int loop_index = f_round_i(loop_steps);
14
     loop_index = loop_index == 0 ?  1 : loop_index;
15
     loop_index = loop_index > 16 ? 16 : loop_index;
16
-    int rst = f_round_i(reset);
17
-    int i;
18
+    rst = f_round_i(reset);
19
 
20
     for (i = 0; i < 16; i++) {
21
         values[i] = *(plugin->values[i]);
22
     }
23
-
24
-    unsigned long s;
25
 
26
     for (s = 0; s < sample_count; s++) {
27
         if (gate[s] > 0.0f) {
(-)blop/files/patch-src-sequencer32_1676.so.c (+27 lines)
Line 0 Link Here
1
--- src/sequencer32_1676.so.c.orig	Tue Feb 11 09:17:55 2003
2
+++ src/sequencer32_1676.so.c	Tue Feb 11 09:18:15 2003
3
@@ -132,6 +132,8 @@
4
 void runSequencer(LADSPA_Handle instance,
5
                   unsigned long sample_count)
6
 {
7
+    int i,rst;
8
+    unsigned long s;
9
     Sequencer *plugin = (Sequencer *)instance;
10
 
11
     /* Gate */
12
@@ -165,14 +167,11 @@
13
     unsigned int loop_index = f_round_i(loop_steps);
14
     loop_index = loop_index == 0 ?  1 : loop_index;
15
     loop_index = loop_index > 32 ? 32 : loop_index;
16
-    int rst = f_round_i(reset);
17
-    int i;
18
+    rst = f_round_i(reset);
19
 
20
     for (i = 0; i < 32; i++) {
21
         values[i] = *(plugin->values[i]);
22
     }
23
-
24
-    unsigned long s;
25
 
26
     for (s = 0; s < sample_count; s++) {
27
         if (gate[s] > 0.0f) {
(-)blop/files/patch-src-sequencer64_1675.so.c (+27 lines)
Line 0 Link Here
1
--- src/sequencer64_1675.so.c.orig	Tue Feb 11 09:17:22 2003
2
+++ src/sequencer64_1675.so.c	Tue Feb 11 09:17:46 2003
3
@@ -132,6 +132,8 @@
4
 void runSequencer(LADSPA_Handle instance,
5
                   unsigned long sample_count)
6
 {
7
+    int i,rst;
8
+    unsigned long s;
9
     Sequencer *plugin = (Sequencer *)instance;
10
 
11
     /* Gate */
12
@@ -165,14 +167,11 @@
13
     unsigned int loop_index = f_round_i(loop_steps);
14
     loop_index = loop_index == 0 ?  1 : loop_index;
15
     loop_index = loop_index > 64 ? 64 : loop_index;
16
-    int rst = f_round_i(reset);
17
-    int i;
18
+    rst = f_round_i(reset);
19
 
20
     for (i = 0; i < 64; i++) {
21
         values[i] = *(plugin->values[i]);
22
     }
23
-
24
-    unsigned long s;
25
 
26
     for (s = 0; s < sample_count; s++) {
27
         if (gate[s] > 0.0f) {

Return to bug 48168