summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-22 05:22:15 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-22 05:22:15 +0000
commit8367015722ee6d73ee9b58b37176777b08dc1111 (patch)
treea8b3d1b4c5529fd6a4a45fd65d93ddcc95b31f80 /games-util/qjoypad
parentFix underlink. Bug #371885 (diff)
downloadgentoo-2-8367015722ee6d73ee9b58b37176777b08dc1111.tar.gz
gentoo-2-8367015722ee6d73ee9b58b37176777b08dc1111.tar.bz2
gentoo-2-8367015722ee6d73ee9b58b37176777b08dc1111.zip
Fix underlink. Bug #371843
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-util/qjoypad')
-rw-r--r--games-util/qjoypad/ChangeLog8
-rw-r--r--games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch11
-rw-r--r--games-util/qjoypad/qjoypad-4.1.0.ebuild8
3 files changed, 22 insertions, 5 deletions
diff --git a/games-util/qjoypad/ChangeLog b/games-util/qjoypad/ChangeLog
index 491856f2e49d..f82a4b9baed8 100644
--- a/games-util/qjoypad/ChangeLog
+++ b/games-util/qjoypad/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-util/qjoypad
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.22 2010/05/26 19:14:01 pacho Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.23 2011/06/22 05:22:15 tupone Exp $
+
+ 22 Jun 2011; Tupone Alfredo <tupone@gentoo.org> qjoypad-4.1.0.ebuild,
+ +files/qjoypad-4.1.0-underlink.patch:
+ Fix underlink. Bug #371843 by Diego Elio Pettenò
26 May 2010; Pacho Ramos <pacho@gentoo.org> qjoypad-4.1.0.ebuild:
stable amd64, bug 316561
diff --git a/games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch b/games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch
new file mode 100644
index 000000000000..8fde419546a7
--- /dev/null
+++ b/games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch
@@ -0,0 +1,11 @@
+--- qjoypad.pro.old 2011-06-22 06:54:06.001667461 +0200
++++ qjoypad.pro 2011-06-22 06:56:17.580044446 +0200
+@@ -32,7 +32,7 @@
+
+ TEMPLATE = app
+ INCLUDEPATH += .
+-QMAKE_LIBS += -lXtst
++QMAKE_LIBS += -lXtst -lm -lX11
+
+ # Input
+ HEADERS += axis.h \
diff --git a/games-util/qjoypad/qjoypad-4.1.0.ebuild b/games-util/qjoypad/qjoypad-4.1.0.ebuild
index d821ed2aa225..9ada57124524 100644
--- a/games-util/qjoypad/qjoypad-4.1.0.ebuild
+++ b/games-util/qjoypad/qjoypad-4.1.0.ebuild
@@ -1,9 +1,9 @@
-# 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-util/qjoypad/qjoypad-4.1.0.ebuild,v 1.4 2010/05/26 19:14:01 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-4.1.0.ebuild,v 1.5 2011/06/22 05:22:15 tupone Exp $
EAPI=2
-inherit qt4 eutils
+inherit eutils qt4-r2
DESCRIPTION="translate gamepad/joystick input into key strokes/mouse actions in X"
HOMEPAGE="http://qjoypad.sourceforge.net/"
@@ -23,6 +23,8 @@ DEPEND="${RDEPEND}
S="${WORKDIR}"/${P}/src
+PATCHES=( "${FILESDIR}"/${P}-underlink.patch )
+
src_configure() {
eqmake4 qjoypad.pro PREFIX=/usr DEVDIR=/dev/input
}