summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-28 11:42:56 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-28 11:42:56 +0000
commit03038b6efd9e4d43747537afaee7f1c7cb1c5c52 (patch)
treefc1303c4f765ce5f207b45207db8baad7dc772b8 /net-www
parentstable amd64, bug 229875 (diff)
downloadhistorical-03038b6efd9e4d43747537afaee7f1c7cb1c5c52.tar.gz
historical-03038b6efd9e4d43747537afaee7f1c7cb1c5c52.tar.bz2
historical-03038b6efd9e4d43747537afaee7f1c7cb1c5c52.zip
Fix a compilation problem on amd64, bug #229453.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'net-www')
-rw-r--r--net-www/gnash/ChangeLog7
-rw-r--r--net-www/gnash/Manifest6
-rw-r--r--net-www/gnash/files/gnash-0.8.3-boost-dynamic-link.patch31
-rw-r--r--net-www/gnash/files/gnash-0.8.3-libtool-2.2.patch35
-rw-r--r--net-www/gnash/gnash-0.8.3.ebuild14
5 files changed, 87 insertions, 6 deletions
diff --git a/net-www/gnash/ChangeLog b/net-www/gnash/ChangeLog
index f253a0dce661..75c7a7418064 100644
--- a/net-www/gnash/ChangeLog
+++ b/net-www/gnash/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/gnash
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.57 2008/06/25 18:35:28 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.58 2008/06/28 11:42:55 loki_val Exp $
+
+ 28 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/gnash-0.8.3-boost-dynamic-link.patch,
+ +files/gnash-0.8.3-libtool-2.2.patch, gnash-0.8.3.ebuild:
+ Fix a compilation problem on amd64, bug #229453.
*gnash-0.8.3 (25 Jun 2008)
diff --git a/net-www/gnash/Manifest b/net-www/gnash/Manifest
index c7e64cdedbc3..ce2f7ada8c68 100644
--- a/net-www/gnash/Manifest
+++ b/net-www/gnash/Manifest
@@ -1,7 +1,9 @@
+AUX gnash-0.8.3-boost-dynamic-link.patch 1510 RMD160 2ce5a0c63442f53f2c7a8b8cda1c5ee50eae5be9 SHA1 2f55416071555dfe86e6545a71948fe159c11dce SHA256 d901c27bdcf3e891510601e8f0acc5561f9ad986ae63504a6b9fce4ab9597e9a
+AUX gnash-0.8.3-libtool-2.2.patch 1140 RMD160 b93c96309a43c8ebd0d00d79968ff9733c7aafbe SHA1 91ea72837f6796d4c9f29ac0844d5b9657092fe3 SHA256 9dc29f5e074ccc314be130aaaf4da85933b108b1618583fd84a9582701d77a17
DIST gnash-0.8.1.tar.bz2 1983596 RMD160 8872e58fb1b2915edd62a2a48fc076a0cda3ed2d SHA1 d83280752d0cdf5c4bbeab1c2e8af3dd0113297f SHA256 30fb283e707bc209109ca313c83b069b1c482497b62f8c4cc37e9a23e0ba8993
DIST gnash-0.8.3.tar.bz2 2902610 RMD160 f7bf4d06d35c3ad40df4419b179fc6482731854b SHA1 3cd4a0930e772a42b0155295fca292fd94be7c42 SHA256 af1fd8454472e0ac588c015b09c67449392f32aa6297d4a625b8344dce11c39a
EBUILD gnash-0.8.1-r1.ebuild 4376 RMD160 7dff884ef3c300477dc618a856eb99ae720dc529 SHA1 a9f8387afd5ebd7c0291e8ed53f89bab62e5eeef SHA256 f19f8ff0fef5cb2f3c18ad3745d4c8ccbd1ac663b5b11c614ae9e95e8fb0a53b
-EBUILD gnash-0.8.3.ebuild 6899 RMD160 72059f6646a7db170724a5d2bd964f8aaa29f71c SHA1 6dd58673390d240be4f4f0042b30d3884810c9d8 SHA256 f92cbb2040902caf02a0c65ea4461ec74898f8519198860844a550f6ceefc1b1
+EBUILD gnash-0.8.3.ebuild 7117 RMD160 3eed790e7981fa68e5e15efd00ee3c33120e699f SHA1 38efe4d61bcf8aaad4df677888a66ec887fba51b SHA256 2361af14c2641f0388dfff49979c5a4c3164ccf00dc60a2920e8178e2a530e8c
EBUILD gnash-9999.ebuild 505 RMD160 f7784d63cee65876d046e76d573e062cad927bee SHA1 627b71b89298059d5e3dd3872ff19de69913595a SHA256 f8d9aae6f4245160e80afbf8cebaf859a2834a715b295595fbd88e067ac034aa
-MISC ChangeLog 10273 RMD160 d447fbfa3b22896b00b70ac72fb409bbb01200a9 SHA1 e657fb6d457add91ec196eb1d347e2296173dc36 SHA256 206b43303e9b875fab9497e1139c3bce08092c87e2020d5f9356234c168b6011
+MISC ChangeLog 10485 RMD160 c2efd1c5140a1afeb12fa68567653619adbf5b6f SHA1 1c2dc7e3abc3738829bdd07ae84fcb7747508a0a SHA256 da5956b1e67cd4812c75c499d7d4daa2e5b97ac2d7cd0e35da28d4b06097272f
MISC metadata.xml 366 RMD160 cdccfa97d9d9b1760b727fa8e51fd9791eb54971 SHA1 63390fda6e25b9c233c7aefadfa9e6356ed33769 SHA256 9783e219e4e7478eefee4912017d4c0c4d93fffae20d52b1f58a70ab3a1918eb
diff --git a/net-www/gnash/files/gnash-0.8.3-boost-dynamic-link.patch b/net-www/gnash/files/gnash-0.8.3-boost-dynamic-link.patch
new file mode 100644
index 000000000000..2612328b8a14
--- /dev/null
+++ b/net-www/gnash/files/gnash-0.8.3-boost-dynamic-link.patch
@@ -0,0 +1,31 @@
+Index: boost.m4
+===================================================================
+RCS file: /sources/gnash/gnash/macros/boost.m4,v
+retrieving revision 1.74
+diff -u -r1.74 boost.m4
+--- macros/boost.m4 16 Jan 2008 00:42:55 -0000 1.74
++++ macros/boost.m4 19 Jan 2008 18:35:14 -0000
+@@ -127,9 +127,9 @@
+ missing_libs=""
+ fi
+ for j in ${boost_libs}; do
+- dirs="`ls -dr $i/libboost_${j}*.${shlibext} $i/libboost_${j}*.a 2>/dev/null`"
++ dirs="`ls -dr $i/libboost_${j}*.${shlibext} 2>/dev/null`"
+ if test -n "${dirs}"; then
+- libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
++ libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::"`"
+ if test x$dirname = x; then
+ dirname="`echo ${dirs} | sed -e 's:/libboost.*$::'`"
+ if test x"${dirname}" != "x/usr/lib"; then
+@@ -143,9 +143,9 @@
+ done
+ done
+ for j in ${extra_boost_libs}; do
+- dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} ${dirname}/libboost_${j}*.a 2>/dev/null`"
++ dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} 2>/dev/null`"
+ if test -n "${dirs}"; then
+- libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
++ libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::"`"
+ ac_cv_path_boost_extra_lib="${ac_cv_path_boost_extra_lib} -l${libname}"
+ else
+ extra_missing_libs="${extra_missing_libs} $j"
diff --git a/net-www/gnash/files/gnash-0.8.3-libtool-2.2.patch b/net-www/gnash/files/gnash-0.8.3-libtool-2.2.patch
new file mode 100644
index 000000000000..f0ec274104b3
--- /dev/null
+++ b/net-www/gnash/files/gnash-0.8.3-libtool-2.2.patch
@@ -0,0 +1,35 @@
+diff -NrU5 gnash-0.8.3.orig/libbase/Makefile.am gnash-0.8.3/libbase/Makefile.am
+--- gnash-0.8.3.orig/libbase/Makefile.am 2008-06-26 22:56:12.000000000 +0200
++++ gnash-0.8.3/libbase/Makefile.am 2008-06-26 22:57:48.000000000 +0200
+@@ -19,13 +19,13 @@
+
+ # this is where Gnash plugins get installed
+ pluginsdir = $(prefix)/lib/gnash/plugins
+
+ if INSTALL_LTDL
+-include_HEADERS = $(top_srcdir)/libltdl/ltdl.h
+-LIBLTDLLIB = libltdl.la
+-LIBLTDLHEAD = $(top_srcdir)/libltdl/ltdl.h
++#include_HEADERS = $(top_srcdir)/libltdl/ltdl.h
++#LIBLTDLLIB = libltdl.la
++#LIBLTDLHEAD = $(top_srcdir)/libltdl/ltdl.h
+ endif
+
+ sysconf_DATA = gnashrc gnashpluginrc
+
+ edit = sed \
+@@ -174,12 +174,12 @@
+
+ libgnashbase_la_LDFLAGS = -release $(VERSION)
+
+ libltdlc_la_CPPFLAGS = $(LTDLINCL)
+ if CONVENIENCE_LTDL
+-noinst_LTLIBRARIES = libltdlc.la
+-libltdlc_la_SOURCES = $(top_srcdir)/libltdl/ltdl.c
++#noinst_LTLIBRARIES = libltdlc.la
++#libltdlc_la_SOURCES = $(top_srcdir)/libltdl/ltdl.c
+ endif
+ CLEANFILES = libltdl.la libltdlc.la gnashrc gnashpluginrc
+
+ libltdl_la_SOURCES = $(top_srcdir)/libltdl/ltdl.c
+ libltdl_la_LDFLAGS = -no-undefined -version-info 4:4:1
diff --git a/net-www/gnash/gnash-0.8.3.ebuild b/net-www/gnash/gnash-0.8.3.ebuild
index 480f0896b5ee..fd2072768fc1 100644
--- a/net-www/gnash/gnash-0.8.3.ebuild
+++ b/net-www/gnash/gnash-0.8.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.3.ebuild,v 1.2 2008/06/26 02:17:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.3.ebuild,v 1.3 2008/06/28 11:42:55 loki_val Exp $
EAPI=1
-inherit nsplugins kde-functions qt3 multilib
+inherit autotools nsplugins kde-functions qt3 multilib
set-kdedir 3.5
@@ -74,6 +74,7 @@ RDEPEND="
x11-libs/libXt
x11-proto/xproto
dbus? ( sys-apps/dbus )
+ sys-devel/libtool
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
@@ -149,6 +150,9 @@ src_unpack() {
sed -i \
-e 's,config.h,gnashconfig.h,' \
./extensions/dbus/dbus_ext.h || die
+ epatch "${FILESDIR}"/${P}-boost-dynamic-link.patch
+ epatch "${FILESDIR}"/${P}-libtool-2.2.patch
+ eautoreconf
}
src_compile() {
@@ -209,6 +213,9 @@ src_compile() {
--with-extensions=${extensions} \
--with-ffmpeg-incl=/usr/include \
--with-kde-pluginprefix=${KDEDIR} \
+ --without-included-ltdl \
+ --with-ltdl-include=/usr/include \
+ --with-ltdl-lib=/usr/lib \
${myconf} \
|| die "econf failed"
emake || die "emake failed"
@@ -217,7 +224,8 @@ src_compile() {
src_test() {
cd testsuite
make check || die "make check failed"
- ./anaylse-results.sh > TESTRESULTS.txt || die "Analyzing results failed."
+ ./anaylse-results.sh > TESTRESULTS.txt
+ cat TESTRESULTS.txt
}
src_install() {