summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-12-19 18:33:52 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-12-19 18:33:52 +0000
commitb5f17990c44c2df84595042954114ddfe4730257 (patch)
treeebc66743c2dd49488cfc1e4347662b647fa03d07 /media-sound/darksnow
parentVersion bump (bug #251607). (diff)
downloadgentoo-2-b5f17990c44c2df84595042954114ddfe4730257.tar.gz
gentoo-2-b5f17990c44c2df84595042954114ddfe4730257.tar.bz2
gentoo-2-b5f17990c44c2df84595042954114ddfe4730257.zip
honour ldflags and fix asneeded build, bug #247832
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'media-sound/darksnow')
-rw-r--r--media-sound/darksnow/ChangeLog8
-rw-r--r--media-sound/darksnow/darksnow-0.6.1.ebuild5
-rw-r--r--media-sound/darksnow/files/darksnow-0.6.1-ldflags.patch13
3 files changed, 22 insertions, 4 deletions
diff --git a/media-sound/darksnow/ChangeLog b/media-sound/darksnow/ChangeLog
index 27c2fb862a57..7a5c5baf2bab 100644
--- a/media-sound/darksnow/ChangeLog
+++ b/media-sound/darksnow/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/darksnow
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/ChangeLog,v 1.13 2007/07/31 09:56:27 diox Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/ChangeLog,v 1.14 2008/12/19 18:33:52 aballier Exp $
+
+ 19 Dec 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/darksnow-0.6.1-ldflags.patch, darksnow-0.6.1.ebuild:
+ honour ldflags and fix asneeded build, bug #247832
31 Jul 2007; Dimitry Bradt <diox@gentoo.org> darksnow-0.6.1.ebuild:
x86 stable wrt #186889
diff --git a/media-sound/darksnow/darksnow-0.6.1.ebuild b/media-sound/darksnow/darksnow-0.6.1.ebuild
index 1dbf7ab575a7..337ecc662865 100644
--- a/media-sound/darksnow/darksnow-0.6.1.ebuild
+++ b/media-sound/darksnow/darksnow-0.6.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/darksnow-0.6.1.ebuild,v 1.5 2007/07/31 09:56:27 diox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/darksnow-0.6.1.ebuild,v 1.6 2008/12/19 18:33:52 aballier Exp $
inherit eutils gnome2-utils
@@ -22,6 +22,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-Makefile.patch
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_install() {
diff --git a/media-sound/darksnow/files/darksnow-0.6.1-ldflags.patch b/media-sound/darksnow/files/darksnow-0.6.1-ldflags.patch
new file mode 100644
index 000000000000..2470a72f76da
--- /dev/null
+++ b/media-sound/darksnow/files/darksnow-0.6.1-ldflags.patch
@@ -0,0 +1,13 @@
+Index: darksnow-0.6.1/Makefile.in
+===================================================================
+--- darksnow-0.6.1.orig/Makefile.in
++++ darksnow-0.6.1/Makefile.in
+@@ -38,7 +38,7 @@ CFLAGS+= -DUSE_TOOLTIP
+ all: darksnow
+
+ darksnow: darksnow.o interface.o config_files.o tooltips.o
+- $(CC) $(CFLAGS) @GTK_LIBS@ @GTK_CFLAGS@ -DVERSION="\"$(VERSION)\"" darksnow.o interface.o config_files.o tooltips.o -o darksnow
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION="\"$(VERSION)\"" darksnow.o interface.o config_files.o tooltips.o -o darksnow @GTK_LIBS@ @GTK_CFLAGS@
+
+ darksnow.o: darksnow.c
+ $(CC) $(FUNNY) @GTK_CFLAGS@ -DINTLPREFIX="\"$(INTLPREFIX)\"" -DVERSION="\"$(VERSION)\"" -c darksnow.c -o darksnow.o