diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-11-04 14:02:33 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-11-04 14:02:33 +0000 |
commit | 76dd348032a63f7269b35c8ba76118486b4ac3ce (patch) | |
tree | b6317d8a0c1160e90f0c70218234af4fe8de0257 /www-client/downman | |
parent | Typo. (diff) | |
download | gentoo-2-76dd348032a63f7269b35c8ba76118486b4ac3ce.tar.gz gentoo-2-76dd348032a63f7269b35c8ba76118486b4ac3ce.tar.bz2 gentoo-2-76dd348032a63f7269b35c8ba76118486b4ac3ce.zip |
Fix building with -Wl,--as-needed.
(Portage version: 2.1.3.17)
Diffstat (limited to 'www-client/downman')
-rw-r--r-- | www-client/downman/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/downman/downman-0.0.5-r1.ebuild | 8 | ||||
-rw-r--r-- | www-client/downman/files/downman-0.0.5-asneeded.patch | 59 |
3 files changed, 70 insertions, 3 deletions
diff --git a/www-client/downman/ChangeLog b/www-client/downman/ChangeLog index 1dc6e781e47f..d64ee7bbdc08 100644 --- a/www-client/downman/ChangeLog +++ b/www-client/downman/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/downman # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/downman/ChangeLog,v 1.5 2007/11/04 13:43:36 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/downman/ChangeLog,v 1.6 2007/11/04 14:02:32 drac Exp $ + + 04 Nov 2007; Samuli Suominen <drac@gentoo.org> + +files/downman-0.0.5-asneeded.patch, downman-0.0.5-r1.ebuild: + Fix building with -Wl,--as-needed. *downman-0.0.5-r1 (04 Nov 2007) diff --git a/www-client/downman/downman-0.0.5-r1.ebuild b/www-client/downman/downman-0.0.5-r1.ebuild index 9377bc35575f..445135a8f437 100644 --- a/www-client/downman/downman-0.0.5-r1.ebuild +++ b/www-client/downman/downman-0.0.5-r1.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/downman/downman-0.0.5-r1.ebuild,v 1.2 2007/11/04 13:55:02 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/downman/downman-0.0.5-r1.ebuild,v 1.3 2007/11/04 14:02:32 drac Exp $ -inherit eutils gnome2 +WANT_AUTOMAKE=1.7 + +inherit autotools eutils gnome2 DESCRIPTION="Suite of programs to download files." HOMEPAGE="http://downman.sourceforge.net" @@ -28,4 +30,6 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${P}-gcc-4.patch epatch "${FILESDIR}"/${P}-strlen.patch + epatch "${FILESDIR}"/${P}-asneeded.patch + eautoreconf } diff --git a/www-client/downman/files/downman-0.0.5-asneeded.patch b/www-client/downman/files/downman-0.0.5-asneeded.patch new file mode 100644 index 000000000000..1b00d75aa826 --- /dev/null +++ b/www-client/downman/files/downman-0.0.5-asneeded.patch @@ -0,0 +1,59 @@ +diff -ur downman-0.0.5.orig/clients/cmdline/Makefile.am downman-0.0.5/clients/cmdline/Makefile.am +--- downman-0.0.5.orig/clients/cmdline/Makefile.am 2003-10-05 18:54:18.000000000 +0300 ++++ downman-0.0.5/clients/cmdline/Makefile.am 2007-11-04 15:55:19.000000000 +0200 +@@ -4,9 +4,7 @@ + main.c + + downman_LDADD = \ +- $(top_srcdir)/utillib/libutil.a +- +-downman_LDFLAGS = \ ++ $(top_srcdir)/utillib/libutil.a \ + $(DOWNMAN_LIBS) + + localedir = $(datadir)/locale +diff -ur downman-0.0.5.orig/clients/gnome/gdownman/Makefile.am downman-0.0.5/clients/gnome/gdownman/Makefile.am +--- downman-0.0.5.orig/clients/gnome/gdownman/Makefile.am 2003-08-28 17:48:58.000000000 +0300 ++++ downman-0.0.5/clients/gnome/gdownman/Makefile.am 2007-11-04 15:58:18.000000000 +0200 +@@ -42,11 +42,9 @@ + servers.h \ + $(BUILT_SOURCES) + +-gdownman_LDFLAGS = \ +- $(GDOWNMAN_LIBS) +- + gdownman_LDADD = \ +- $(top_srcdir)/utillib/libutil.a ++ $(top_srcdir)/utillib/libutil.a \ ++ $(GDOWNMAN_LIBS) + + localedir = $(datadir)/locale + +diff -ur downman-0.0.5.orig/clients/gnome/monitor/Makefile.am downman-0.0.5/clients/gnome/monitor/Makefile.am +--- downman-0.0.5.orig/clients/gnome/monitor/Makefile.am 2003-05-30 22:08:01.000000000 +0300 ++++ downman-0.0.5/clients/gnome/monitor/Makefile.am 2007-11-04 16:00:01.000000000 +0200 +@@ -5,8 +5,8 @@ + dmgmonitor.c dmgmonitor.h \ + dmgmonitor_ui.h + +-downman_gmonitor_LDFLAGS = `pkg-config --libs gtk+-2.0 libgnome-2.0 libgnomeui-2.0` +-downman_gmonitor_LDADD = $(top_srcdir)/utillib/libutil.a ++downman_gmonitor_LDADD = $(top_srcdir)/utillib/libutil.a \ ++ $(GDOWNMAN_LIBS) + + localedir = $(datadir)/locale + +diff -ur downman-0.0.5.orig/daemon/Makefile.am downman-0.0.5/daemon/Makefile.am +--- downman-0.0.5.orig/daemon/Makefile.am 2003-09-30 23:29:17.000000000 +0300 ++++ downman-0.0.5/daemon/Makefile.am 2007-11-04 15:51:16.000000000 +0200 +@@ -22,9 +22,7 @@ + servers.c servers.h \ + $(BUILT_SOURCES) + +-downmand_LDADD = $(top_srcdir)/utillib/libutil.a +- +-downmand_LDFLAGS = \ ++downmand_LDADD = $(top_srcdir)/utillib/libutil.a \ + $(DOWNMAN_LIBS) \ + $(DOWNMAND_LIBS) + |