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

(-)audio/blop/Makefile (-8 / +11 lines)
Lines 5-11 Link Here
5
# $FreeBSD: ports/audio/blop/Makefile,v 1.6 2003/02/20 16:49:41 knu Exp $
5
# $FreeBSD: ports/audio/blop/Makefile,v 1.6 2003/02/20 16:49:41 knu Exp $
6
6
7
PORTNAME=	blop
7
PORTNAME=	blop
8
PORTVERSION=	0.2.6
8
PORTVERSION=	0.2.7
9
CATEGORIES=	audio
9
CATEGORIES=	audio
10
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
10
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITE_SUBDIR=	${PORTNAME}
11
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 14-29 Link Here
14
COMMENT=	Bandlimited oscillator plugins for LADSPA-aware audio applications
14
COMMENT=	Bandlimited oscillator plugins for LADSPA-aware audio applications
15
15
16
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
16
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
17
.if !exists(/usr/include/getopt.h)
18
LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
19
CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib -lgnugetopt"
20
.endif
21
17
18
USE_GETOPT_LONG=	yes
19
USE_REINPLACE=	yes
22
USE_GMAKE=	yes
20
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
24
CONFIGURE_TARGET=
22
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
25
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
23
CONFIGURE_ARGS=	--with-ladspa-prefix="${LOCALBASE}"
26
		--with-ladspa-prefix="${LOCALBASE}"
24
25
post-patch:
26
	@${REINPLACE_CMD} 's|-pipe -Wall -O3 |\$$CFLAGS |g' ${WRKSRC}/configure
27
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
28
		's|\$$(LIBS)|\$$(LIBS) \$$(LDFLAGS)|g ; \
29
		 s|-lc | |g'
27
30
28
pre-build:
31
pre-build:
29
	cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h
32
	cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h
(-)audio/blop/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (blop-0.2.6.tar.gz) = 09af3065164045d7792eb9f159b24d12
1
MD5 (blop-0.2.7.tar.gz) = cc40f5eeb03c6657349c700d2dc9e382
(-)audio/blop/files/patch-src-sequencer.so.c (+37 lines)
Line 0 Link Here
1
--- src/sequencer.so.c.orig	Mon Feb 17 04:20:44 2003
2
+++ src/sequencer.so.c	Fri Apr 25 02:44:42 2003
3
@@ -136,6 +136,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
@@ -167,9 +169,7 @@
13
 
14
     unsigned int step_index = plugin->step_index;
15
     unsigned int loop_index = lrintf(loop_steps);
16
-    int rst = lrintf(reset);
17
-    int i;
18
-    unsigned long s;
19
+    rst = lrintf(reset);
20
 
21
     loop_index = loop_index == 0 ?  1 : loop_index;
22
     loop_index = loop_index > SEQUENCER_MAX_INPUTS ? SEQUENCER_MAX_INPUTS : loop_index;
23
@@ -223,12 +223,12 @@
24
     void (*run_functions[])(LADSPA_Handle,
25
                             unsigned long) = {runSequencer};
26
 
27
-    sequencer_descriptors = (LADSPA_Descriptor **)calloc(SEQUENCER_VARIANT_COUNT, sizeof(LADSPA_Descriptor));
28
-
29
     char label[12];
30
     char name[33];
31
     char loop_point_label[20];
32
     char value_label[14];
33
+
34
+    sequencer_descriptors = (LADSPA_Descriptor **)calloc(SEQUENCER_VARIANT_COUNT, sizeof(LADSPA_Descriptor));
35
 
36
 /* Mmmm. Lovely... */
37
     sprintf(label, "%s%d", "sequencer", SEQUENCER_MAX_INPUTS);
(-)audio/blop/files/patch-src-sequencer16_1677.so.c (-27 lines)
Lines 1-27 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) {
(-)audio/blop/files/patch-src-sequencer32_1676.so.c (-27 lines)
Lines 1-27 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) {
(-)audio/blop/files/patch-src-sequencer64_1675.so.c (-27 lines)
Lines 1-27 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) {
(-)audio/blop/pkg-plist (+1 lines)
Lines 16-18 Link Here
16
lib/ladspa/sum_1665.so
16
lib/ladspa/sum_1665.so
17
lib/ladspa/sync_square_1678.so
17
lib/ladspa/sync_square_1678.so
18
lib/ladspa/triangle_1649.so
18
lib/ladspa/triangle_1649.so
19
@unexec rmdir %D/lib/ladspa 2>/dev/null || true

Return to bug 51510