diff options
Diffstat (limited to 'app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch')
-rw-r--r-- | app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch new file mode 100644 index 000000000000..194d68eefeea --- /dev/null +++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch @@ -0,0 +1,20 @@ +--- g15daemon-1.9.5.3/configure.in ++++ g15daemon-1.9.5.3/configure.in +@@ -53,7 +53,7 @@ + AC_ARG_ENABLE([--disable-uinput],[ --disable-uinput do not build linux uinput plugin (default: autodetect)]) + + if test "x$enable_uinput" != "xno"; then +- if test "x$have_linux_uinput_h" == "xyes"; then ++ if test "x$have_linux_uinput_h" = "xyes"; then + #if HAVE_LINUX_UINPUT_H + dnl check for uinput.h version 2.4 or 2.6 ? + AC_CHECK_MEMBER([struct uinput_user_dev.id], +@@ -110,7 +110,7 @@ + AM_CONDITIONAL(UINPUT_INTERFACE_PLUGIN, [test x$uinput = xtrue]) + + dnl Some versions of libusb do not honour timeout and block. Suns' version is one of them. +-if test "x$libusb_blocks" == "xtrue"; then ++if test "x$libusb_blocks" = "xtrue"; then + AC_DEFINE([LIBUSB_BLOCKS], [1],[Define if libusb implementation blocks on read or write]) + fi + |