summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-29 13:38:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-29 13:38:31 +0000
commit151b9075ba87d6ce53836fbd35e83b6c6d30d7cd (patch)
tree3689ecc295a21c68be44e00ae12709a7628e7083 /media-libs/a52dec
parentAdded ~mips. (diff)
downloadgentoo-2-151b9075ba87d6ce53836fbd35e83b6c6d30d7cd.tar.gz
gentoo-2-151b9075ba87d6ce53836fbd35e83b6c6d30d7cd.tar.bz2
gentoo-2-151b9075ba87d6ce53836fbd35e83b6c6d30d7cd.zip
Added patch for Gentoo/FreeBSD compatibility. Thanks to Alberto Zennaro on bug #100112.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/a52dec')
-rw-r--r--media-libs/a52dec/ChangeLog7
-rw-r--r--media-libs/a52dec/a52dec-0.7.4-r5.ebuild4
-rw-r--r--media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch11
3 files changed, 20 insertions, 2 deletions
diff --git a/media-libs/a52dec/ChangeLog b/media-libs/a52dec/ChangeLog
index 9b5307fdebcf..98f52c685844 100644
--- a/media-libs/a52dec/ChangeLog
+++ b/media-libs/a52dec/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/a52dec
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.36 2005/07/16 20:20:16 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.37 2005/07/29 13:38:31 flameeyes Exp $
+
+ 29 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/a52dec-0.7.4-freebsd.patch, a52dec-0.7.4-r5.ebuild:
+ Added patch for Gentoo/FreeBSD compatibility. Thanks to Alberto Zennaro on
+ bug #100112.
16 Jul 2005; Joseph Jezak <josejx@gentoo.org> a52dec-0.7.4-r5.ebuild:
Marked ppc stable.
diff --git a/media-libs/a52dec/a52dec-0.7.4-r5.ebuild b/media-libs/a52dec/a52dec-0.7.4-r5.ebuild
index c03558465b76..30fc7ec4bb4a 100644
--- a/media-libs/a52dec/a52dec-0.7.4-r5.ebuild
+++ b/media-libs/a52dec/a52dec-0.7.4-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r5.ebuild,v 1.4 2005/07/16 20:20:16 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r5.ebuild,v 1.5 2005/07/29 13:38:31 flameeyes Exp $
inherit eutils flag-o-matic libtool
@@ -23,6 +23,8 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-build.patch
+ epatch ${FILESDIR}/${P}-freebsd.patch
+
export WANT_AUTOMAKE=1.8
export WANT_AUTOCONF=2.5
libtoolize --force --copy --automake || die "libtoolize"
diff --git a/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch b/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch
new file mode 100644
index 000000000000..2a2e4053ca52
--- /dev/null
+++ b/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch
@@ -0,0 +1,11 @@
+--- /var/tmp/portage/a52dec-0.7.4-r5/work/a52dec-0.7.4/libao/audio_out_oss.c 2002-04-28 12:23:02 +0200
++++ audio_out_oss.c 2005-07-23 15:42:50 +0200
+@@ -35,7 +35,7 @@
+ #if defined(__OpenBSD__)
+ #include <soundcard.h>
+ #elif defined(__FreeBSD__)
+-#include <machine/soundcard.h>
++#include <sys/soundcard.h>
+ #ifndef AFMT_S16_NE
+ #include <machine/endian.h>
+ #if BYTE_ORDER == LITTLE_ENDIAN