summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/wmpuzzle/ChangeLog6
-rw-r--r--games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch12
-rw-r--r--games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild8
3 files changed, 24 insertions, 2 deletions
diff --git a/games-puzzle/wmpuzzle/ChangeLog b/games-puzzle/wmpuzzle/ChangeLog
index 43c563034736..77b8ec5d6695 100644
--- a/games-puzzle/wmpuzzle/ChangeLog
+++ b/games-puzzle/wmpuzzle/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/wmpuzzle
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/ChangeLog,v 1.1 2008/01/17 20:01:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/ChangeLog,v 1.2 2008/01/18 12:24:58 drac Exp $
+
+ 18 Jan 2008; Samuli Suominen <drac@gentoo.org>
+ +files/wmpuzzle-0.5.0-asneeded.patch, wmpuzzle-0.5.0.ebuild:
+ Fixed building with asneeded.
*wmpuzzle-0.5.0 (17 Jan 2008)
diff --git a/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch b/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch
new file mode 100644
index 000000000000..133a9de0eecc
--- /dev/null
+++ b/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch
@@ -0,0 +1,12 @@
+diff -ur wmpuzzle-0.5.0.orig/src/Makefile.in wmpuzzle-0.5.0/src/Makefile.in
+--- wmpuzzle-0.5.0.orig/src/Makefile.in 2006-04-16 11:16:25.000000000 +0300
++++ wmpuzzle-0.5.0/src/Makefile.in 2008-01-18 14:17:54.000000000 +0200
+@@ -17,7 +17,7 @@
+ all: wmpuzzle
+
+ wmpuzzle: wmpuzzle.o wmgeneral.o
+- $(CC) $(LDFLAGS) $(LIBS) -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+ wmpuzzle.o: wmpuzzle.c wmpuzzle.h config.h linux.xpm daemon.xpm
+ wmgeneral.o: wmgeneral.c wmgeneral.h
diff --git a/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild b/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild
index 9bb3453f7ef8..d6f3390d7241 100644
--- a/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild
+++ b/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild,v 1.1 2008/01/17 20:01:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild,v 1.2 2008/01/18 12:24:58 drac Exp $
inherit eutils games
@@ -21,6 +21,12 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}/src
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+}
+
src_install() {
dogamesbin ${PN} || die "dogamesbin failed."