diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-06-24 10:03:00 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-06-24 10:03:00 +0000 |
commit | 1c652696112e2eea962d241c2161e60c07c7b363 (patch) | |
tree | 9fb3e893289484debe09b572ede12ab5a8cf2ba3 /media-libs/gmyth | |
parent | Stable on amd64 wrt bug #322791 (diff) | |
download | gentoo-2-1c652696112e2eea962d241c2161e60c07c7b363.tar.gz gentoo-2-1c652696112e2eea962d241c2161e60c07c7b363.tar.bz2 gentoo-2-1c652696112e2eea962d241c2161e60c07c7b363.zip |
Patch to fix --as-needed support. Fixes bug #247748. Thanks to xarthisius
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/gmyth')
-rw-r--r-- | media-libs/gmyth/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/gmyth/files/gmyth-0.7-as-needed.patch | 46 | ||||
-rw-r--r-- | media-libs/gmyth/gmyth-0.7.ebuild | 13 |
3 files changed, 62 insertions, 5 deletions
diff --git a/media-libs/gmyth/ChangeLog b/media-libs/gmyth/ChangeLog index 96e7eccea241..14211e0142ee 100644 --- a/media-libs/gmyth/ChangeLog +++ b/media-libs/gmyth/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/gmyth -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/ChangeLog,v 1.9 2009/05/21 19:01:52 ranger Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/ChangeLog,v 1.10 2010/06/24 10:03:00 hwoarang Exp $ + + 24 Jun 2010; Markos Chandras <hwoarang@gentoo.org> gmyth-0.7.ebuild, + +files/gmyth-0.7-as-needed.patch: + Patch to fix --as-needed support. Fixes bug #247748. Thanks to xarthisius 21 May 2009; Brent Baude <ranger@gentoo.org> gmyth-0.7.ebuild: Marking gmyth-0.7 ~ppc64 for bug 266986 diff --git a/media-libs/gmyth/files/gmyth-0.7-as-needed.patch b/media-libs/gmyth/files/gmyth-0.7-as-needed.patch new file mode 100644 index 000000000000..f3c087fa6eec --- /dev/null +++ b/media-libs/gmyth/files/gmyth-0.7-as-needed.patch @@ -0,0 +1,46 @@ +--- gmyth.orig/m4/ac_doxygen.m4 2010-01-09 16:45:19.715489995 +0100 ++++ gmyth/m4/ac_doxygen.m4 2010-01-09 16:46:11.841495719 +0100 +@@ -78,7 +78,7 @@ + AC_PATH_TOOL([$1], [$2]) + if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then + AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION]) +- AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0) ++ AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0) + fi + ]) + +@@ -101,7 +101,7 @@ + # ---------------------------------------------------------- + # Turn off the DX_CURRENT_FEATURE if the required feature is off. + AC_DEFUN([DX_CLEAR_DEPEND], [ +-test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0) ++test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0) + ]) + + # DX_FEATURE_ARG(FEATURE, DESCRIPTION, +--- gmyth.orig/src/Makefile.am 2007-05-23 20:50:41.000000000 +0200 ++++ gmyth/src/Makefile.am 2010-01-09 16:50:18.609492323 +0100 +@@ -55,17 +55,18 @@ + $(GSTBASE_CFLAGS) \ + $(GSTPLUGINSBASE_CFLAGS) \ + $(MYSQL_CFLAGS) \ +- $(LIBXML_CFLAGS) ++ $(LIBXML_CFLAGS) \ ++ $(LIBCURL_CFLAGS) + + libgmyth_la_LDFLAGS = \ +- -export-dynamic \ +- $(GLIB_CFLAGS) \ +- $(GOBJECT_CFLAGS) \ ++ -export-dynamic ++libgmyth_la_LIBADD = \ + $(MYSQL_LIBS) \ + $(GST_LIBS) \ + $(GSTBASE_LIBS) \ + $(GSTPLUGINS_LIBS) \ +- $(LIBXML_LIBS) ++ $(LIBXML_LIBS) \ ++ $(LIBCURL_LIBS) + + libgmyth_includedir = \ + $(pkgincludedir) diff --git a/media-libs/gmyth/gmyth-0.7.ebuild b/media-libs/gmyth/gmyth-0.7.ebuild index c6ccc007777f..6fe992ff72c5 100644 --- a/media-libs/gmyth/gmyth-0.7.ebuild +++ b/media-libs/gmyth/gmyth-0.7.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/gmyth-0.7.ebuild,v 1.7 2009/05/21 19:01:52 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/gmyth-0.7.ebuild,v 1.8 2010/06/24 10:03:00 hwoarang Exp $ -inherit libtool +inherit libtool autotools eutils IUSE="debug" LICENSE="LGPL-2" @@ -20,6 +20,13 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${PN}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-as-needed.patch + AT_M4DIR="m4" eautoreconf +} + src_compile() { econf $(use_enable debug) emake || die "emake failed." |