summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-20 11:48:11 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-20 11:48:11 +0000
commit51fb98d09fbb40723c01816269d4eae3daf33b31 (patch)
tree996d9689b0b535ef39330f4b5d29d1224dd9039c /games-board/openyahtzee
parentVersion bump, remove old. (diff)
downloadgentoo-2-51fb98d09fbb40723c01816269d4eae3daf33b31.tar.gz
gentoo-2-51fb98d09fbb40723c01816269d4eae3daf33b31.tar.bz2
gentoo-2-51fb98d09fbb40723c01816269d4eae3daf33b31.zip
Fix underlink. Bug #369529
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-board/openyahtzee')
-rw-r--r--games-board/openyahtzee/ChangeLog8
-rw-r--r--games-board/openyahtzee/files/openyahtzee-1.9-underlink.patch8
-rw-r--r--games-board/openyahtzee/openyahtzee-1.9.ebuild10
3 files changed, 18 insertions, 8 deletions
diff --git a/games-board/openyahtzee/ChangeLog b/games-board/openyahtzee/ChangeLog
index 4fd489624871..741a7d9e4cb4 100644
--- a/games-board/openyahtzee/ChangeLog
+++ b/games-board/openyahtzee/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/openyahtzee
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/ChangeLog,v 1.12 2010/05/18 07:57:34 tupone Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/ChangeLog,v 1.13 2011/06/20 11:48:11 tupone Exp $
+
+ 20 Jun 2011; Tupone Alfredo <tupone@gentoo.org> openyahtzee-1.9.ebuild,
+ +files/openyahtzee-1.9-underlink.patch:
+ Fix underlink. Bug #369529 by Diego Elio Pettenò
18 May 2010; Tupone Alfredo <tupone@gentoo.org> openyahtzee-1.9.ebuild,
+files/openyahtzee-1.9-gcc45.patch:
diff --git a/games-board/openyahtzee/files/openyahtzee-1.9-underlink.patch b/games-board/openyahtzee/files/openyahtzee-1.9-underlink.patch
new file mode 100644
index 000000000000..9e49012d131a
--- /dev/null
+++ b/games-board/openyahtzee/files/openyahtzee-1.9-underlink.patch
@@ -0,0 +1,8 @@
+--- src/Makefile.am.old 2011-06-20 13:41:03.264848550 +0200
++++ src/Makefile.am 2011-06-20 13:42:39.667245673 +0200
+@@ -42,4 +42,4 @@
+ openyahtzee.rc
+
+ AM_CXXFLAGS = @WX_CXXFLAGS@
+-openyahtzee_LDFLAGS = @WX_LIBS@
++openyahtzee_LDADD = @WX_LIBS@ -ldl
diff --git a/games-board/openyahtzee/openyahtzee-1.9.ebuild b/games-board/openyahtzee/openyahtzee-1.9.ebuild
index ceaa38d00b79..41decff4e027 100644
--- a/games-board/openyahtzee/openyahtzee-1.9.ebuild
+++ b/games-board/openyahtzee/openyahtzee-1.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.9.ebuild,v 1.6 2010/05/18 07:57:34 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.9.ebuild,v 1.7 2011/06/20 11:48:11 tupone Exp $
EAPI=2
WX_GTK_VER="2.8"
@@ -18,10 +18,8 @@ IUSE=""
DEPEND="x11-libs/wxGTK:2.8[X]"
src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc45.patch
- sed -i \
- -e 's:openyahtzee_LDFLAGS:openyahtzee_LDADD:' \
- src/Makefile.am || die
+ epatch "${FILESDIR}"/${P}-gcc45.patch \
+ "${FILESDIR}"/${P}-underlink.patch
eautoreconf
}