summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2010-07-26 01:15:00 +0000
committerMagnus Granberg <zorry@gentoo.org>2010-07-26 01:15:00 +0000
commit4a249ade4e807c3c6441690820421ae8c1f2e1f3 (patch)
tree9857fac268e640be01d20727bf7fda02da7cf6b2 /media-libs/a52dec
parentFix nfs init script dependency generation for kerberos exports. (diff)
downloadgentoo-2-4a249ade4e807c3c6441690820421ae8c1f2e1f3.tar.gz
gentoo-2-4a249ade4e807c3c6441690820421ae8c1f2e1f3.tar.bz2
gentoo-2-4a249ade4e807c3c6441690820421ae8c1f2e1f3.zip
refix the package #327369 thanks Martin Rejman
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/a52dec')
-rw-r--r--media-libs/a52dec/ChangeLog6
-rw-r--r--media-libs/a52dec/a52dec-0.7.4-r6.ebuild6
-rw-r--r--media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch19
3 files changed, 27 insertions, 4 deletions
diff --git a/media-libs/a52dec/ChangeLog b/media-libs/a52dec/ChangeLog
index 99482cd92cc7..61b621a8007b 100644
--- a/media-libs/a52dec/ChangeLog
+++ b/media-libs/a52dec/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/a52dec
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.62 2010/07/25 17:57:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.63 2010/07/26 01:15:00 zorry Exp $
+
+ 26 Jul 2010; Magnus Granberg <zorry@gentoo.org> a52dec-0.7.4-r6.ebuild,
+ +files/a52dec-0.7.4-test-hidden-symbols.patch:
+ Refix the package for #327369 thanks Martin Rejman
25 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
a52dec-0.7.4-r6.ebuild:
diff --git a/media-libs/a52dec/a52dec-0.7.4-r6.ebuild b/media-libs/a52dec/a52dec-0.7.4-r6.ebuild
index ab3296a850e9..58cb477de623 100644
--- a/media-libs/a52dec/a52dec-0.7.4-r6.ebuild
+++ b/media-libs/a52dec/a52dec-0.7.4-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 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-r6.ebuild,v 1.13 2010/07/25 17:57:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild,v 1.14 2010/07/26 01:15:00 zorry Exp $
EAPI=2
inherit autotools eutils flag-o-matic
@@ -20,14 +20,14 @@ DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-freebsd.patch \
- "${FILESDIR}"/${P}-tests-optional.patch
+ "${FILESDIR}"/${P}-tests-optional.patch \
+ "${FILESDIR}"/${P}-tests-hidden-symbols.patch
eautoreconf
epunt_cxx
}
src_configure() {
filter-flags -fprefetch-loop-arrays
- filter-flags -fPIE
local myconf="--enable-shared"
use oss || myconf="${myconf} --disable-oss"
diff --git a/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch b/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch
new file mode 100644
index 000000000000..9ff949dd9c08
--- /dev/null
+++ b/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch
@@ -0,0 +1,19 @@
+2010-07-26 Martin Rejman <martin.rejman@centrum.cz>
+
+ #327369
+ * test/globals: bad_globals: Use readelf and ignore hidden symbols
+
+--- a/test/globals 2010-07-07 20:37:49.000000000 +0200
++++ b/test/globals 2010-07-07 20:37:57.000000000 +0200
+@@ -12,8 +12,9 @@
+ srcdir=`cd $srcdir;pwd`
+ builddir=`cd $builddir;pwd`
+
+-bad_globals=`nm -g --defined-only $builddir/../liba52/*.o|\
+- awk '{if ($3) print $3}'|grep -v '^_\?a52_'`
++bad_globals=`readelf -s $builddir/../liba52/*.o |\
++ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\
++ grep -v '^_\?a52_'`
+
+ if test x"$bad_globals" != x""; then
+ echo BAD GLOBAL SYMBOLS: