summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2006-04-20 15:12:58 +0000
committerHanno Böck <hanno@gentoo.org>2006-04-20 15:12:58 +0000
commit0adc54a59d94781196427f991dd9701f6cd83dd4 (patch)
treec3d59b119a45a3a563bbd358daec3c0ea46bf9e0 /media-libs/faac
parentamd64 stable, bug 129371 (diff)
downloadgentoo-2-0adc54a59d94781196427f991dd9701f6cd83dd4.tar.gz
gentoo-2-0adc54a59d94781196427f991dd9701f6cd83dd4.tar.bz2
gentoo-2-0adc54a59d94781196427f991dd9701f6cd83dd4.zip
faac as-needed fix
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-libs/faac')
-rw-r--r--media-libs/faac/ChangeLog6
-rw-r--r--media-libs/faac/faac-1.24-r2.ebuild3
-rw-r--r--media-libs/faac/files/faac-1.24-as-needed.patch10
3 files changed, 17 insertions, 2 deletions
diff --git a/media-libs/faac/ChangeLog b/media-libs/faac/ChangeLog
index 666c947395d0..84a58b169317 100644
--- a/media-libs/faac/ChangeLog
+++ b/media-libs/faac/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/faac
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.34 2006/04/18 16:46:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.35 2006/04/20 15:12:58 hanno Exp $
+
+ 20 Apr 2006; Hanno Boeck <hanno@gentoo.org>
+ +files/faac-1.24-as-needed.patch, faac-1.24-r2.ebuild:
+ Add patch to compile with --as-needed.
*faac-1.24-r2 (18 Apr 2006)
diff --git a/media-libs/faac/faac-1.24-r2.ebuild b/media-libs/faac/faac-1.24-r2.ebuild
index f1b0f7660b92..1dbf68cd234c 100644
--- a/media-libs/faac/faac-1.24-r2.ebuild
+++ b/media-libs/faac/faac-1.24-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/faac-1.24-r2.ebuild,v 1.1 2006/04/18 16:46:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/faac-1.24-r2.ebuild,v 1.2 2006/04/20 15:12:58 hanno Exp $
inherit libtool eutils autotools
@@ -27,6 +27,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}-faad.patch"
epatch "${FILESDIR}/${P}-tracknumber.patch"
+ epatch "${FILESDIR}/${P}-as-needed.patch"
eautoreconf
elibtoolize
diff --git a/media-libs/faac/files/faac-1.24-as-needed.patch b/media-libs/faac/files/faac-1.24-as-needed.patch
new file mode 100644
index 000000000000..a73ef574df97
--- /dev/null
+++ b/media-libs/faac/files/faac-1.24-as-needed.patch
@@ -0,0 +1,10 @@
+--- faac/libfaac/Makefile.am 2003-10-17 18:41:05.000000000 +0200
++++ faac-1/libfaac/Makefile.am 2006-04-20 17:08:30.103745000 +0200
+@@ -2,6 +2,7 @@
+
+ libfaac_la_SOURCES = aacquant.c bitstream.c fft.c frame.c midside.c psychkni.c util.c backpred.c channels.c filtbank.c huffman.c ltp.c tns.c
+ libfaac_la_INCLUDES = aacquant.h channels.h filtbank.h hufftab.h psych.h backpred.h coder.h frame.h midside.h tns.h bitstream.h fft.h huffman.h ltp.h util.h
++libfaac_la_LIBADD = -lm
+
+ INCLUDES = -I$(top_srcdir)/include
+