diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-03-01 13:29:44 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-03-01 13:29:44 +0000 |
commit | 74198f3e9a477175a104e23081e1a46b595bd1b9 (patch) | |
tree | 82e0627b61c194b01dc59138a355f823148cf5bb /media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch | |
parent | Fix linking of filter.so with asneeded (diff) | |
download | gentoo-2-74198f3e9a477175a104e23081e1a46b595bd1b9.tar.gz gentoo-2-74198f3e9a477175a104e23081e1a46b595bd1b9.tar.bz2 gentoo-2-74198f3e9a477175a104e23081e1a46b595bd1b9.zip |
fix build on g/fbsd
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch')
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch new file mode 100644 index 000000000000..b5614b2377de --- /dev/null +++ b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch @@ -0,0 +1,16 @@ +Index: ladspa_sdk/src/applyplugin.c +=================================================================== +--- ladspa_sdk.orig/src/applyplugin.c ++++ ladspa_sdk/src/applyplugin.c +@@ -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> |