summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-02 11:16:46 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-02 11:16:46 +0000
commitd5d05b02f27fb28a6a2a9576b234517fc873a1f4 (patch)
tree0f59a3fda22694ae057f1efb0df8321f5401816d /media-libs/paragui
parentx11-drivers/xf86-input-evdev: bump to 2.1.2 (diff)
downloadgentoo-2-d5d05b02f27fb28a6a2a9576b234517fc873a1f4.tar.gz
gentoo-2-d5d05b02f27fb28a6a2a9576b234517fc873a1f4.tar.bz2
gentoo-2-d5d05b02f27fb28a6a2a9576b234517fc873a1f4.zip
Fix --as-needed bug #247303
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'media-libs/paragui')
-rw-r--r--media-libs/paragui/ChangeLog8
-rw-r--r--media-libs/paragui/files/paragui-1.0.4-as-needed.patch11
-rw-r--r--media-libs/paragui/paragui-1.0.4.ebuild12
3 files changed, 23 insertions, 8 deletions
diff --git a/media-libs/paragui/ChangeLog b/media-libs/paragui/ChangeLog
index 6e181f08c66a..35c1a3b11cdd 100644
--- a/media-libs/paragui/ChangeLog
+++ b/media-libs/paragui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/paragui
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/ChangeLog,v 1.30 2008/06/29 09:39:05 loki_val Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/ChangeLog,v 1.31 2009/02/02 11:16:46 tupone Exp $
+
+ 02 Feb 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/paragui-1.0.4-as-needed.patch, paragui-1.0.4.ebuild:
+ Fix --as-needed bug #247303 by flameeyes@gentoo.org
29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/paragui-1.1.8-gcc43.patch, paragui-1.1.8.ebuild:
diff --git a/media-libs/paragui/files/paragui-1.0.4-as-needed.patch b/media-libs/paragui/files/paragui-1.0.4-as-needed.patch
new file mode 100644
index 000000000000..a9930591ca0c
--- /dev/null
+++ b/media-libs/paragui/files/paragui-1.0.4-as-needed.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.in.old 2009-02-02 12:01:36.000000000 +0100
++++ src/Makefile.in 2009-02-02 12:02:56.000000000 +0100
+@@ -129,7 +129,7 @@
+ libparagui_la_LDFLAGS = -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
+
+-libparagui_la_LIBADD = $(SDL_LIBS) $(IMAGE_LIBS) $(EXPAT_LIB) $(PHYSFS_LIB) ./draw/libpgdraw.la ./font/libpgfont.la ./core/libpgcore.la ./widgets/libpgwidgets.la ./themes/libtheme.la $(LIBSTDCPP)
++libparagui_la_LIBADD = $(SDL_LIBS) $(IMAGE_LIBS) $(EXPAT_LIB) $(PHYSFS_LIB) -lfreetype ./draw/libpgdraw.la ./font/libpgfont.la ./core/libpgcore.la ./widgets/libpgwidgets.la ./themes/libtheme.la $(LIBSTDCPP)
+
+
+ INCLUDES = $(SDL_CFLAGS) -I$(top_srcdir)/include
diff --git a/media-libs/paragui/paragui-1.0.4.ebuild b/media-libs/paragui/paragui-1.0.4.ebuild
index c874b05830a9..a62053ee4eee 100644
--- a/media-libs/paragui/paragui-1.0.4.ebuild
+++ b/media-libs/paragui/paragui-1.0.4.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/paragui-1.0.4.ebuild,v 1.9 2007/11/11 21:54:42 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/paragui-1.0.4.ebuild,v 1.10 2009/02/02 11:16:46 tupone Exp $
+EAPI=2
inherit eutils
DESCRIPTION="A cross-platform high-level application framework and GUI library"
@@ -18,10 +19,9 @@ DEPEND=">=media-libs/libsdl-1.2.4
dev-libs/expat
dev-games/physfs"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.1.8-header.patch
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1.8-header.patch \
+ "${FILESDIR}"/${P}-as-needed.patch
}
src_install() {