summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-08-26 16:28:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-08-26 16:28:57 +0000
commited0d1e3e010b05278a4a0e1c0fd947f6a2cadb12 (patch)
treec9c88f6533c8dda75d9f1438c012db7591675e0e /app-misc
parentAdd patches for removing extra newlines, and fixing chapter count display (diff)
downloadgentoo-2-ed0d1e3e010b05278a4a0e1c0fd947f6a2cadb12.tar.gz
gentoo-2-ed0d1e3e010b05278a4a0e1c0fd947f6a2cadb12.tar.bz2
gentoo-2-ed0d1e3e010b05278a4a0e1c0fd947f6a2cadb12.zip
EAPI=5; fix compile warning (bug #521096)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/joymouse/ChangeLog7
-rw-r--r--app-misc/joymouse/joymouse-0.5.ebuild12
2 files changed, 13 insertions, 6 deletions
diff --git a/app-misc/joymouse/ChangeLog b/app-misc/joymouse/ChangeLog
index 4cc053df7273..69fbc9de1722 100644
--- a/app-misc/joymouse/ChangeLog
+++ b/app-misc/joymouse/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/joymouse
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/joymouse/ChangeLog,v 1.11 2008/01/15 09:57:41 nyhm Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/joymouse/ChangeLog,v 1.12 2014/08/26 16:28:57 mr_bones_ Exp $
+
+ 26 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> joymouse-0.5.ebuild:
+ EAPI=5; fix compile warning (bug #521096)
15 Jan 2008; Tristan Heaven <nyhm@gentoo.org> joymouse-0.5.ebuild:
Add x11-proto/inputproto dep, bug #205065
diff --git a/app-misc/joymouse/joymouse-0.5.ebuild b/app-misc/joymouse/joymouse-0.5.ebuild
index aacbac68fef6..426e05f67970 100644
--- a/app-misc/joymouse/joymouse-0.5.ebuild
+++ b/app-misc/joymouse/joymouse-0.5.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/joymouse/joymouse-0.5.ebuild,v 1.4 2008/01/15 10:01:53 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/joymouse/joymouse-0.5.ebuild,v 1.5 2014/08/26 16:28:57 mr_bones_ Exp $
+EAPI=5
DESCRIPTION="An application that translates joystick events to mouse events"
HOMEPAGE="http://sourceforge.net/projects/joymouse-linux"
SRC_URI="mirror://sourceforge/joymouse-linux/${P}.tar.gz"
@@ -16,7 +17,10 @@ DEPEND="x11-proto/xextproto
RDEPEND="x11-libs/libX11
x11-libs/libXtst"
+src_prepare() {
+ sed -i 's/printf(message/fputs(message, stdout/g' src/joymouse.c || die
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS README
+ default
}