summaryrefslogtreecommitdiff
path: root/games-util/joystick/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-util/joystick/files
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-util/joystick/files')
-rw-r--r--games-util/joystick/files/joystick-1.4.8-udev.patch52
-rw-r--r--games-util/joystick/files/joystick-1.6.0-build.patch34
2 files changed, 0 insertions, 86 deletions
diff --git a/games-util/joystick/files/joystick-1.4.8-udev.patch b/games-util/joystick/files/joystick-1.4.8-udev.patch
deleted file mode 100644
index c0032493ebf7..000000000000
--- a/games-util/joystick/files/joystick-1.4.8-udev.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -ru linuxconsoletools-1.4.8.orig/utils/jscal-restore.in linuxconsoletools-1.4.8/utils/jscal-restore.in
---- linuxconsoletools-1.4.8.orig/utils/jscal-restore.in 2011-12-15 10:49:01.000000000 -0500
-+++ linuxconsoletools-1.4.8/utils/jscal-restore.in 2015-05-16 01:54:00.799168225 -0400
-@@ -6,8 +6,13 @@
- exit 1
- fi
-
--if [ ! -x /sbin/udevadm ]; then
-- echo Restoring joystick configuration requires udev! >&2
-+for f in /sbin/udevadm /bin/udevadm ;
-+do
-+ [ -x $f ] && UDEVADM=$f
-+done
-+
-+if [ -z "$UDEVADM" ] ; then
-+ echo Storing joystick configuration requires udev! >&2
- exit 1
- fi
-
-@@ -30,7 +35,7 @@
- # in the NAME value
- IFS=$'\x0A'
-
--for ATTRIBUTE in $( /sbin/udevadm info -a -n $1 | @@PREFIX@@/share/joystick/ident ); do
-+for ATTRIBUTE in $( ${UDEVADM} info -a -n $1 | @@PREFIX@@/share/joystick/ident ); do
- ID=$( echo "$ATTRIBUTE" | cut -f 1 -d = )
- VALUE=$( echo "$ATTRIBUTE" | cut -f 2 -d \" )
- case $ID in
-diff -ru linuxconsoletools-1.4.8.orig/utils/jscal-store.in linuxconsoletools-1.4.8/utils/jscal-store.in
---- linuxconsoletools-1.4.8.orig/utils/jscal-store.in 2011-12-15 10:49:01.000000000 -0500
-+++ linuxconsoletools-1.4.8/utils/jscal-store.in 2015-05-16 01:53:18.725607838 -0400
-@@ -11,14 +11,18 @@
- echo "Stores the device's calibration for future use."
- exit 1
- fi
-+for f in /sbin/udevadm /bin/udevadm ;
-+do
-+ [ -x $f ] && UDEVADM=$f
-+done
-
--if [ ! -x /sbin/udevadm ]; then
-+if [ -z "$UDEVADM" ] ; then
- echo Storing joystick configuration requires udev! >&2
- exit 1
- fi
-
- ident=$(mktemp)
--/sbin/udevadm info -a -n $1 | @@PREFIX@@/share/joystick/ident > $ident
-+${UDEVADM} info -a -n $1 | @@PREFIX@@/share/joystick/ident > $ident
- . $ident
- rm $ident
-
diff --git a/games-util/joystick/files/joystick-1.6.0-build.patch b/games-util/joystick/files/joystick-1.6.0-build.patch
deleted file mode 100644
index fa60ec719917..000000000000
--- a/games-util/joystick/files/joystick-1.6.0-build.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- linuxconsoletools-1.6.0/docs/Makefile
-+++ linuxconsoletools-1.6.0/docs/Makefile
-@@ -20,9 +20,13 @@
- # 02110-1301 USA.
-
- MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \
-- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \
-+ ffset.1 ffcfstress.1 jscal-store.1 \
- jscal-restore.1 evdev-joystick.1
-
-+ifneq ($(USE_SDL),no)
-+MANPAGES += ffmvforce.1
-+endif
-+
- PREFIX ?= /usr/local
-
- install:
---- linuxconsoletools-1.6.0/utils/Makefile
-+++ linuxconsoletools-1.6.0/utils/Makefile
-@@ -27,9 +27,13 @@
-
- CFLAGS ?= -g -O2 -Wall
-
--PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
-+PROGRAMS = inputattach jstest jscal fftest ffset \
- ffcfstress jscal-restore jscal-store evdev-joystick
-
-+ifneq ($(USE_SDL),no)
-+PROGRAMS += ffmvforce
-+endif
-+
- PREFIX ?= /usr/local
-
- compile: $(PROGRAMS)