diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-01-30 23:38:56 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-01-30 23:38:56 +0000 |
commit | e14e86097a72c36b38692ba2c4fb7a4e88b3e888 (patch) | |
tree | ae21d64a26845ed43fe03313bbb26e11dafd74f4 /app-text | |
parent | Port to libusb-1.0. (diff) | |
download | gentoo-2-e14e86097a72c36b38692ba2c4fb7a4e88b3e888.tar.gz gentoo-2-e14e86097a72c36b38692ba2c4fb7a4e88b3e888.tar.bz2 gentoo-2-e14e86097a72c36b38692ba2c4fb7a4e88b3e888.zip |
Fix underlinking, bug 370125
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/gsview/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/gsview/files/gsview-4.9-libdl.patch | 12 | ||||
-rw-r--r-- | app-text/gsview/gsview-4.9.ebuild | 5 |
3 files changed, 21 insertions, 4 deletions
diff --git a/app-text/gsview/ChangeLog b/app-text/gsview/ChangeLog index ca3e68d608d5..1f0074adc9b8 100644 --- a/app-text/gsview/ChangeLog +++ b/app-text/gsview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/gsview -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/ChangeLog,v 1.34 2011/03/27 12:20:51 nirbheek Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/ChangeLog,v 1.35 2012/01/30 23:38:56 dilfridge Exp $ + + 30 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> gsview-4.9.ebuild, + +files/gsview-4.9-libdl.patch: + Fix underlinking, bug 370125 27 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> gsview-4.8.ebuild, gsview-4.9.ebuild: diff --git a/app-text/gsview/files/gsview-4.9-libdl.patch b/app-text/gsview/files/gsview-4.9-libdl.patch new file mode 100644 index 000000000000..1ffd74d8def4 --- /dev/null +++ b/app-text/gsview/files/gsview-4.9-libdl.patch @@ -0,0 +1,12 @@ +diff -ruN gsview-4.9.orig/srcunx/unx.mak gsview-4.9/srcunx/unx.mak +--- gsview-4.9.orig/srcunx/unx.mak 2004-11-27 16:51:26.000000000 +0100 ++++ gsview-4.9/srcunx/unx.mak 2012-01-31 00:36:50.000000000 +0100 +@@ -80,7 +80,7 @@ + CFLAGS=-O -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
+
+ # Linker flags
+-LFLAGS=$(LDEBUG) $(PLINK) `gtk-config --libs`
++LFLAGS=$(LDEBUG) $(PLINK) `gtk-config --libs` -ldl
+
+ COMP=$(CC) $(CFLAGS) -I. -I$(SRCDIR) -I$(SRCUNXDIR) -I$(OBJDIR)
+ CCAUX=$(CC) $(CFLAGS) -I$(SRCDIR)
diff --git a/app-text/gsview/gsview-4.9.ebuild b/app-text/gsview/gsview-4.9.ebuild index 49b555d6d7fd..ab6861a7ea76 100644 --- a/app-text/gsview/gsview-4.9.ebuild +++ b/app-text/gsview/gsview-4.9.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.9.ebuild,v 1.3 2011/03/27 12:20:51 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.9.ebuild,v 1.4 2012/01/30 23:38:56 dilfridge Exp $ EAPI="3" @@ -26,6 +26,7 @@ DEPEND="app-arch/unzip src_prepare() { epatch "${FILESDIR}"/${PV}-gentoo.patch + epatch "${FILESDIR}"/${P}-libdl.patch tc-export CC } |