summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libbs2b/ChangeLog6
-rw-r--r--media-libs/libbs2b/Manifest11
-rw-r--r--media-libs/libbs2b/files/libbs2b-3.0.0-freebsd.patch13
-rw-r--r--media-libs/libbs2b/libbs2b-3.0.0.ebuild8
4 files changed, 30 insertions, 8 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/Manifest b/media-libs/libbs2b/Manifest
index ea99c1820c66..b9f46162f894 100644
--- a/media-libs/libbs2b/Manifest
+++ b/media-libs/libbs2b/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX libbs2b-3.0.0-freebsd.patch 291 RMD160 d47bcc77fb590486ccb3ad9a1eff408fa094d880 SHA1 87d5ed0cdfc8263522f23dfb97d33c9d4173e4eb SHA256 88ab07e1419da7579c1d8af1edf7d4de5ef00efd2da1b433ae258062ff07685c
DIST libbs2b-3.0.0.tar.bz2 257109 RMD160 f5631a52c604335e8018c70316c8613fea9a8343 SHA1 72a0256a93e5feef0b20ef570d28d0ecf005b4ff SHA256 8f835d8317b600cf127d65bbab6c5f5a1aae5dde576e5e55a3ad1397d398ede5
-EBUILD libbs2b-3.0.0.ebuild 572 RMD160 2423d67529920cdbf1501bed2169c86c5143bd20 SHA1 0722ac3b227acd6d12b4fbb184fab4cd32d2b5c2 SHA256 e5b004ba1a15c1f7373c2fa007945f50912283076b3dff7c46d2eface161f600
-MISC ChangeLog 372 RMD160 5d03ad9ce5f2b5b284f536c473e6c7c50596cc50 SHA1 d50c46c2402a3df198aa6c26b4482ecb53460fd8 SHA256 4ee43f3c8ada74ff8f2bc13aba2dd7093c72b4c2ddd510409f1d44a890cf0d79
+EBUILD libbs2b-3.0.0.ebuild 641 RMD160 e46ad7bdc10979313fed899d89a659cd0088234b SHA1 a539070dad9f3ac9c15d7217eb814ee730df6e3f SHA256 6f3d862ed8fe4353104bef8f18f2936e6b7456fd0fe5f1dd4c461c606eb868c0
+MISC ChangeLog 567 RMD160 dcab00135e22c378cf98befbba7bb8de43bbacbc SHA1 0375f0e64e875baf1f8b0750d53aa48b4fb89f19 SHA256 9bf913b78ef8da0f1610007a1ef9d95948a679c439818c410d724d184d09529b
MISC metadata.xml 258 RMD160 13e7931774a926023974bc01b3940e5b97dd10b4 SHA1 d613007af6aca1bf3c59f1f29efb28065cfdf22b SHA256 5fa59a9b0948090cf9ac59d499e93bf0b51c3a2f11a6cca666f2d4c03eca033d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkoQGHQACgkQp5vW4rUFj5pHcACgjPKqPDZMy2+gBF7Z+mMntUiL
-ehQAoMIYKpZm+eKEyj3Ay+CgI90w1P1J
-=xXT7
+iEYEARECAAYFAkoQJiQACgkQAiZjviIA2XjogQCfdKw82h5zWEHe8xVLWq7xt+fo
+fx0An18nCJ5Hx/1aIRHMfZrHBCMlYWpK
+=oY3u
-----END PGP SIGNATURE-----
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"