diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-17 14:58:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-17 14:58:39 +0000 |
commit | 89ab318d864d4c552881c5ae9d8d4babebeab14f (patch) | |
tree | 9a72ece332cd57ad45d752c63c48df424a54fe39 /media-libs | |
parent | sparc stable wrt #267922 (diff) | |
download | gentoo-2-89ab318d864d4c552881c5ae9d8d4babebeab14f.tar.gz gentoo-2-89ab318d864d4c552881c5ae9d8d4babebeab14f.tar.bz2 gentoo-2-89ab318d864d4c552881c5ae9d8d4babebeab14f.zip |
Add patch to build under FreeBSD and mark ~x86-fbsd (seems to be working).
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libbs2b/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libbs2b/files/libbs2b-3.0.0-freebsd.patch | 13 | ||||
-rw-r--r-- | media-libs/libbs2b/libbs2b-3.0.0.ebuild | 8 |
3 files changed, 24 insertions, 3 deletions
diff --git a/media-libs/libbs2b/ChangeLog b/media-libs/libbs2b/ChangeLog index 6d7760ba04f5..05e9a5af73fc 100644 --- a/media-libs/libbs2b/ChangeLog +++ b/media-libs/libbs2b/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libbs2b # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libbs2b/ChangeLog,v 1.1 2009/05/17 14:00:02 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libbs2b/ChangeLog,v 1.2 2009/05/17 14:58:39 flameeyes Exp $ + + 17 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> + libbs2b-3.0.0.ebuild, +files/libbs2b-3.0.0-freebsd.patch: + Add patch to build under FreeBSD and mark ~x86-fbsd (seems to be working). *libbs2b-3.0.0 (17 May 2009) diff --git a/media-libs/libbs2b/files/libbs2b-3.0.0-freebsd.patch b/media-libs/libbs2b/files/libbs2b-3.0.0-freebsd.patch new file mode 100644 index 000000000000..481089705525 --- /dev/null +++ b/media-libs/libbs2b/files/libbs2b-3.0.0-freebsd.patch @@ -0,0 +1,13 @@ +Index: libbs2b-3.0.0/src/bs2b.c +=================================================================== +--- libbs2b-3.0.0.orig/src/bs2b.c ++++ libbs2b-3.0.0/src/bs2b.c +@@ -22,7 +22,7 @@ + */ + + #include <math.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <memory.h> + + #include "bs2b.h" diff --git a/media-libs/libbs2b/libbs2b-3.0.0.ebuild b/media-libs/libbs2b/libbs2b-3.0.0.ebuild index 0c35ac048ca9..0842585967f4 100644 --- a/media-libs/libbs2b/libbs2b-3.0.0.ebuild +++ b/media-libs/libbs2b/libbs2b-3.0.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libbs2b/libbs2b-3.0.0.ebuild,v 1.1 2009/05/17 14:00:02 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libbs2b/libbs2b-3.0.0.ebuild,v 1.2 2009/05/17 14:58:39 flameeyes Exp $ + +inherit base DESCRIPTION="Bauer stereophonic-to-binaural DSP library" HOMEPAGE="http://bs2b.sourceforge.net/" @@ -8,13 +10,15 @@ SRC_URI="mirror://sourceforge/bs2b/${P}.tar.bz2" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86-fbsd" IUSE="" RDEPEND="media-libs/libsndfile" DEPEND="${RDEPEND} dev-util/pkgconfig" +PATCHES=("${FILESDIR}/${P}-freebsd.patch") + src_install() { emake install DESTDIR="${D}" || die "emake install failed" |