summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-05-16 14:40:29 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-05-16 14:40:29 +0000
commit99c44f32d1e164cb9a9264435579a94cd44b2de8 (patch)
treebab1fe437eac490d4855284335c3104db4a25e19 /games-fps/doomsday
parentFix typo, from indian to endian (diff)
downloadgentoo-2-99c44f32d1e164cb9a9264435579a94cd44b2de8.tar.gz
gentoo-2-99c44f32d1e164cb9a9264435579a94cd44b2de8.tar.bz2
gentoo-2-99c44f32d1e164cb9a9264435579a94cd44b2de8.zip
Fix underlinking. Bug #367353
(Portage version: 2.1.9.49/cvs/Linux i686)
Diffstat (limited to 'games-fps/doomsday')
-rw-r--r--games-fps/doomsday/ChangeLog6
-rw-r--r--games-fps/doomsday/doomsday-1.9.0_beta69.ebuild4
-rw-r--r--games-fps/doomsday/files/doomsday-1.9.0_beta69-underlink.patch11
3 files changed, 19 insertions, 2 deletions
diff --git a/games-fps/doomsday/ChangeLog b/games-fps/doomsday/ChangeLog
index 403c059a3360..a8fee4a66192 100644
--- a/games-fps/doomsday/ChangeLog
+++ b/games-fps/doomsday/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/doomsday
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.37 2011/03/18 19:38:17 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.38 2011/05/16 14:40:29 tupone Exp $
+
+ 16 May 2011; Tupone Alfredo <tupone@gentoo.org> doomsday-1.9.0_beta69.ebuild,
+ +files/doomsday-1.9.0_beta69-underlink.patch:
+ Fix underlinking. Bug #367353 by Diego Elio Pettenò
18 Mar 2011; Thomas Kahle <tomka@gentoo.org> doomsday-1.9.0_beta69.ebuild:
x86 stable per bug 356491
diff --git a/games-fps/doomsday/doomsday-1.9.0_beta69.ebuild b/games-fps/doomsday/doomsday-1.9.0_beta69.ebuild
index ab4975fe76b7..0d66e4d59954 100644
--- a/games-fps/doomsday/doomsday-1.9.0_beta69.ebuild
+++ b/games-fps/doomsday/doomsday-1.9.0_beta69.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.9.0_beta69.ebuild,v 1.4 2011/03/18 19:38:17 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.9.0_beta69.ebuild,v 1.5 2011/05/16 14:40:29 tupone Exp $
EAPI=2
inherit cmake-utils games
@@ -28,6 +28,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}/${PN}
+PATCHES=( "${FILESDIR}"/${P}-underlink.patch )
+
src_configure() {
mycmakeargs=(
-Dbindir="${GAMES_BINDIR}"
diff --git a/games-fps/doomsday/files/doomsday-1.9.0_beta69-underlink.patch b/games-fps/doomsday/files/doomsday-1.9.0_beta69-underlink.patch
new file mode 100644
index 000000000000..782ebafaec45
--- /dev/null
+++ b/games-fps/doomsday/files/doomsday-1.9.0_beta69-underlink.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.old 2011-05-16 16:00:22.000000000 +0200
++++ CMakeLists.txt 2011-05-16 16:14:50.000000000 +0200
+@@ -645,7 +645,7 @@
+
+ IF (UNIX)
+ IF (NOT WIN32)
+- TARGET_LINK_LIBRARIES (doomsday dl)
++ TARGET_LINK_LIBRARIES (doomsday dl m)
+ IF (NOT APPLE)
+ TARGET_LINK_LIBRARIES (doomsday ${X11_LIBRARIES})
+ ENDIF (NOT APPLE)