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 | |
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')
-rw-r--r-- | media-libs/ladspa-sdk/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch | 16 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild | 3 |
3 files changed, 23 insertions, 2 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog index 15f356c9c799..d5da728a48b1 100644 --- a/media-libs/ladspa-sdk/ChangeLog +++ b/media-libs/ladspa-sdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/ladspa-sdk # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.44 2008/03/01 13:23:23 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.45 2008/03/01 13:29:43 aballier Exp $ + + 01 Mar 2008; Alexis Ballier <aballier@gentoo.org> + +files/ladspa-sdk-1.13-fbsd.patch, ladspa-sdk-1.13-r1.ebuild: + fix build on g/fbsd 01 Mar 2008; Alexis Ballier <aballier@gentoo.org> +files/ladspa-sdk-1.13-asneeded.patch, ladspa-sdk-1.13-r1.ebuild: 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> diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild index 3dc526a9a8b5..e59e00c68308 100644 --- a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.2 2008/03/01 13:23:23 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.3 2008/03/01 13:29:43 aballier Exp $ inherit eutils toolchain-funcs portability flag-o-matic @@ -25,6 +25,7 @@ src_unpack() { unpack ${A} epatch "${FILESDIR}/${P}-properbuild.patch" epatch "${FILESDIR}/${P}-asneeded.patch" + epatch "${FILESDIR}/${P}-fbsd.patch" sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \ "${S}/makefile" || die "sed makefile failed (sound playing tests)" } |