On Sun, Jan 18, 2009 at 07:32:14AM +0000, Jacob Meuser wrote: > simple update. tested with audacity.
small change, link the executables with -pthread so analysing/listing plugins that need libpthread doesn't end in a segfault. regen patches too. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Index: Makefile =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 15 Sep 2007 21:26:01 -0000 1.3 +++ Makefile 18 Jan 2009 11:10:02 -0000 @@ -5,13 +5,13 @@ CATEGORIES= audio devel SHARED_ONLY= Yes -DISTNAME= ladspa_sdk_1.12 +DISTNAME= ladspa_sdk_1.13 WRKDIST= ${WRKDIR}/ladspa_sdk -PKGNAME= ladspa-1.12p0 +PKGNAME= ladspa-1.13 EXTRACT_SUFX= .tgz MASTER_SITES= ${HOMEPAGE:=download/} -# LGPL +# LGPLv2.1 PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_CDROM= Yes PERMIT_DISTFILES_FTP= Yes @@ -21,10 +21,10 @@ USE_GMAKE= Yes MAKE_FILE= makefile ALL_TARGET= targets -MAKE_FLAGS= LIBRARIES=-lm OPTS="${CFLAGS}" +MAKE_FLAGS= LIBRARIES="-lm -pthread" OPTS="${CFLAGS}" PROGRAMS= analyseplugin applyplugin listplugins -WANTLIB= c m +WANTLIB= c m pthread do-install: .for i in ${PROGRAMS} Index: distinfo =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 5 Apr 2007 15:37:42 -0000 1.2 +++ distinfo 18 Jan 2009 11:10:02 -0000 @@ -1,5 +1,5 @@ -MD5 (ladspa_sdk_1.12.tgz) = 29Y91wHYCxUpQwc8hFZcFA== -RMD160 (ladspa_sdk_1.12.tgz) = eWdzHCh4UodpFlXZNGz0ZlT0I1s= -SHA1 (ladspa_sdk_1.12.tgz) = NqOnoA+WKBykQ9yuFdM/RiOYxNQ= -SHA256 (ladspa_sdk_1.12.tgz) = ZqW+GwxUq6htuySi5eg2BNDXqMBkX8tkV57Clm4laJw= -SIZE (ladspa_sdk_1.12.tgz) = 71165 +MD5 (ladspa_sdk_1.13.tgz) = Zxvj4QIdByLK3H+ycFRijg== +RMD160 (ladspa_sdk_1.13.tgz) = 6e6ujt0kpokPrD40xLVfhE9E+KA= +SHA1 (ladspa_sdk_1.13.tgz) = K2niivtiwNl5QxJPSO2C3nlvg+0= +SHA256 (ladspa_sdk_1.13.tgz) = te0/TyU6D2wbeh9LjPYjdsqfUdmZZQ3YImUMQ4UtMGs= +SIZE (ladspa_sdk_1.13.tgz) = 70540 Index: patches/patch-src_makefile =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/patches/patch-src_makefile,v retrieving revision 1.2 diff -u -r1.2 patch-src_makefile --- patches/patch-src_makefile 4 Aug 2006 23:34:39 -0000 1.2 +++ patches/patch-src_makefile 18 Jan 2009 11:10:03 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-src_makefile,v 1.2 2006/08/04 23:34:39 espie Exp $ ---- src/makefile.orig Sat Jul 6 19:34:20 2002 -+++ src/makefile Sat Aug 5 00:56:04 2006 -@@ -16,7 +16,7 @@ INSTALL_BINARY_DIR = /usr/local/bin/ +--- src/makefile.orig Tue Nov 6 02:42:45 2007 ++++ src/makefile Sun Jan 18 02:45:13 2009 +@@ -15,7 +15,7 @@ INSTALL_BINARY_DIR = /usr/bin/ INCLUDES = -I. LIBRARIES = -ldl -lm @@ -10,7 +10,7 @@ CXXFLAGS = $(CFLAGS) PLUGINS = ../plugins/amp.so \ ../plugins/delay.so \ -@@ -36,11 +36,11 @@ CPP = c++ +@@ -35,11 +35,11 @@ CPP = c++ ../plugins/%.so: plugins/%.c ladspa.h $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c Index: patches/patch-src_plugins_amp_c =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/patches/patch-src_plugins_amp_c,v retrieving revision 1.1 diff -u -r1.1 patch-src_plugins_amp_c --- patches/patch-src_plugins_amp_c 4 Aug 2006 23:34:39 -0000 1.1 +++ patches/patch-src_plugins_amp_c 18 Jan 2009 11:10:03 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-src_plugins_amp_c,v 1.1 2006/08/04 23:34:39 espie Exp $ ---- src/plugins/amp.c.orig Sat Aug 5 01:10:01 2006 -+++ src/plugins/amp.c Sat Aug 5 01:13:05 2006 -@@ -150,10 +150,13 @@ LADSPA_Descriptor * g_psStereoDescriptor +--- src/plugins/amp.c.orig Sat Jul 6 10:20:19 2002 ++++ src/plugins/amp.c Sun Jan 18 02:40:59 2009 +@@ -150,10 +150,13 @@ LADSPA_Descriptor * g_psStereoDescriptor = NULL; /*****************************************************************************/ @@ -16,7 +16,7 @@ char ** pcPortNames; LADSPA_PortDescriptor * piPortDescriptors; -@@ -336,7 +339,7 @@ deleteDescriptor(LADSPA_Descriptor * psD +@@ -336,7 +339,7 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) { /* _fini() is called automatically when the library is unloaded. */ void Index: patches/patch-src_plugins_delay_c =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/patches/patch-src_plugins_delay_c,v retrieving revision 1.1 diff -u -r1.1 patch-src_plugins_delay_c --- patches/patch-src_plugins_delay_c 4 Aug 2006 23:34:39 -0000 1.1 +++ patches/patch-src_plugins_delay_c 18 Jan 2009 11:10:03 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-src_plugins_delay_c,v 1.1 2006/08/04 23:34:39 espie Exp $ ---- src/plugins/delay.c.orig Sat Aug 5 01:15:43 2006 -+++ src/plugins/delay.c Sat Aug 5 01:16:12 2006 -@@ -226,10 +226,13 @@ LADSPA_Descriptor * g_psDescriptor = NUL +--- src/plugins/delay.c.orig Sat Jul 6 10:21:20 2002 ++++ src/plugins/delay.c Sun Jan 18 02:40:59 2009 +@@ -226,10 +226,13 @@ LADSPA_Descriptor * g_psDescriptor = NULL; /*****************************************************************************/ Index: patches/patch-src_plugins_filter_c =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/patches/patch-src_plugins_filter_c,v retrieving revision 1.1 diff -u -r1.1 patch-src_plugins_filter_c --- patches/patch-src_plugins_filter_c 4 Aug 2006 23:34:39 -0000 1.1 +++ patches/patch-src_plugins_filter_c 18 Jan 2009 11:10:03 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-src_plugins_filter_c,v 1.1 2006/08/04 23:34:39 espie Exp $ ---- src/plugins/filter.c.orig Sat Aug 5 01:15:43 2006 -+++ src/plugins/filter.c Sat Aug 5 01:16:38 2006 -@@ -250,10 +250,13 @@ LADSPA_Descriptor * g_psHPFDescriptor = +--- src/plugins/filter.c.orig Sat Jul 6 10:22:01 2002 ++++ src/plugins/filter.c Sun Jan 18 02:40:59 2009 +@@ -250,10 +250,13 @@ LADSPA_Descriptor * g_psHPFDescriptor = NULL; /*****************************************************************************/ @@ -16,7 +16,7 @@ char ** pcPortNames; LADSPA_PortDescriptor * piPortDescriptors; -@@ -432,7 +435,7 @@ deleteDescriptor(LADSPA_Descriptor * psD +@@ -432,7 +435,7 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) { /* _fini() is called automatically when the library is unloaded. */ void Index: pkg/PLIST =================================================================== RCS file: /home2/cvs/OpenBSD/ports/audio/ladspa/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- pkg/PLIST 31 Jul 2006 12:21:20 -0000 1.1.1.1 +++ pkg/PLIST 18 Jan 2009 11:10:03 -0000 @@ -1,7 +1,7 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:21:20 espie Exp $ -bin/analyseplugin -bin/applyplugin -bin/listplugins +...@bin bin/analyseplugin +...@bin bin/applyplugin +...@bin bin/listplugins include/ladspa.h lib/ladspa/ lib/ladspa/amp.so