diff options
Diffstat (limited to 'media-libs/ladspa-sdk/files/ladspa-sdk-1.12-fbsd.patch')
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.12-fbsd.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-fbsd.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-fbsd.patch deleted file mode 100644 index 8bab0f6efb69..000000000000 --- a/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-fbsd.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -ur ladspa_sdk.orig/src/applyplugin.c ladspa_sdk/src/applyplugin.c ---- ladspa_sdk.orig/src/applyplugin.c 2002-05-18 14:01:36 -0300 -+++ ladspa_sdk/src/applyplugin.c 2006-10-31 18:25:23 -0300 -@@ -6,7 +6,11 @@ - /*****************************************************************************/ - - #include <dlfcn.h> -+#ifdef __FreeBSD__ -+#include <machine/endian.h> -+#else - #include <endian.h> -+#endif - #include <errno.h> - #include <math.h> - #include <stdlib.h> -diff -ur ladspa_sdk.orig/src/makefile ladspa_sdk/src/makefile ---- ladspa_sdk.orig/src/makefile 2006-10-31 18:23:47 -0300 -+++ ladspa_sdk/src/makefile 2006-10-31 18:24:51 -0300 -@@ -15,7 +15,12 @@ - # - - INCLUDES = -I. -+# FreeBSD doesn't need -ldl -+ifeq ($(shell uname -s), FreeBSD) -+LIBRARIES = -lm -+else - LIBRARIES = -ldl -lm -+endif - CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC - CXXFLAGS = $(CFLAGS) - PLUGINS = ../plugins/amp.so \ |