diff options
Diffstat (limited to 'audio/ladspa/patches')
-rw-r--r-- | audio/ladspa/patches/patch-aa | 88 | ||||
-rw-r--r-- | audio/ladspa/patches/patch-ab | 17 | ||||
-rw-r--r-- | audio/ladspa/patches/patch-ac | 20 |
3 files changed, 0 insertions, 125 deletions
diff --git a/audio/ladspa/patches/patch-aa b/audio/ladspa/patches/patch-aa deleted file mode 100644 index d203c2bf0a2..00000000000 --- a/audio/ladspa/patches/patch-aa +++ /dev/null @@ -1,88 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2005/03/31 17:17:07 minskim Exp $ - ---- makefile.orig 2004-02-28 17:30:22.000000000 +0100 -+++ makefile 2004-02-28 17:35:17.000000000 +0100 -@@ -5,9 +5,9 @@ - # Change these if you want to install somewhere else. In particularly - # you may wish to remove the middle "local/" part of each entry. - --INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/ --INSTALL_INCLUDE_DIR = /usr/include/ --INSTALL_BINARY_DIR = /usr/local/bin/ -+INSTALL_PLUGINS_DIR = ${PREFIX}/lib/ladspa -+INSTALL_INCLUDE_DIR = ${PREFIX}/include -+INSTALL_BINARY_DIR = ${PREFIX}/bin - - ############################################################################### - # -@@ -15,8 +15,8 @@ - # - - INCLUDES = -I. --LIBRARIES = -ldl -lm --CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC -+LIBRARIES = $(DL_LIBS) -lm -+CFLAGS = $(INCLUDES) -Wall -Werror -fPIC - CXXFLAGS = $(CFLAGS) - PLUGINS = ../plugins/amp.so \ - ../plugins/delay.so \ -@@ -26,8 +26,8 @@ - PROGRAMS = ../bin/analyseplugin \ - ../bin/applyplugin \ - ../bin/listplugins --CC = cc --CPP = c++ -+#CC = cc -+#CPP = c++ - - ############################################################################### - # -@@ -39,32 +39,19 @@ - $(LD) -o ../plugins/$*.so plugins/$*.o -shared - - ../plugins/%.so: plugins/%.cpp ladspa.h -- $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp -- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared -+ $(CXX) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp -+ $(CXX) -o ../plugins/$*.so plugins/$*.o -shared - - ############################################################################### - # - # TARGETS - # - --test: /tmp/test.wav ../snd/noise.wav always -- @echo --------------------------------------------- -- @echo First listen to the white noise input signal: -- @echo --------------------------------------------- -- play ../snd/noise.wav -- @echo ------------------------- -- @echo Compare to plugin output. -- @echo ------------------------- -- @echo Should be a noise band around 6000Hz, repeated quietly after 1s. -- play /tmp/test.wav -- --install: targets -- -mkdirhier $(INSTALL_PLUGINS_DIR) \ -- $(INSTALL_INCLUDE_DIR) \ -- $(INSTALL_BINARY_DIR) -- cp ../plugins/* $(INSTALL_PLUGINS_DIR) -- cp ladspa.h $(INSTALL_INCLUDE_DIR) -- cp ../bin/* $(INSTALL_BINARY_DIR) -+install: -+ $(BSD_INSTALL_DATA_DIR) $(INSTALL_PLUGINS_DIR) -+ $(BSD_INSTALL_DATA) ../plugins/* $(INSTALL_PLUGINS_DIR) -+ $(BSD_INSTALL_DATA) ladspa.h $(INSTALL_INCLUDE_DIR) -+ $(BSD_INSTALL_PROGRAM) ../bin/* $(INSTALL_BINARY_DIR) - - /tmp/test.wav: targets ../snd/noise.wav - ../bin/listplugins -@@ -82,7 +69,7 @@ - ../plugins/delay.so delay_5s 1 0.1 \ - ../plugins/amp.so amp_mono 4 \ - --targets: $(PLUGINS) $(PROGRAMS) -+all: $(PLUGINS) $(PROGRAMS) - - ############################################################################### - # diff --git a/audio/ladspa/patches/patch-ab b/audio/ladspa/patches/patch-ab deleted file mode 100644 index 570183a629c..00000000000 --- a/audio/ladspa/patches/patch-ab +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2005/03/31 17:06:29 minskim Exp $ - ---- applyplugin.c.orig 2004-02-28 17:11:28.000000000 +0100 -+++ applyplugin.c 2004-02-28 17:12:19.000000000 +0100 -@@ -6,7 +6,11 @@ - /*****************************************************************************/ - - #include <dlfcn.h> --#include <endian.h> -+#ifdef __linux__ -+# include <endian.h> -+#else -+# include <sys/endian.h> -+#endif - #include <errno.h> - #include <math.h> - #include <stdlib.h> diff --git a/audio/ladspa/patches/patch-ac b/audio/ladspa/patches/patch-ac deleted file mode 100644 index 40bc343e0aa..00000000000 --- a/audio/ladspa/patches/patch-ac +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2006/08/08 15:16:40 wiz Exp $ - ---- plugins/sine.cpp.orig 2002-07-06 17:23:17.000000000 +0000 -+++ plugins/sine.cpp -@@ -59,6 +59,15 @@ initialise_sine_table() { - - /*****************************************************************************/ - -+LADSPA_Handle instantiateSineOscillator(const LADSPA_Descriptor *, unsigned long SampleRate); -+void connectPortToSineOscillator(LADSPA_Handle Instance, unsigned long Port, LADSPA_Data * DataLocation); -+void activateSineOscillator(void * pvHandle); -+void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance, unsigned long SampleCount); -+void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance, unsigned long SampleCount); -+void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance, unsigned long SampleCount); -+void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance, unsigned long SampleCount); -+void cleanupSineOscillator(void *pvHandle); -+ - class SineOscillator { - private: - |