summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-10-30 12:27:26 +0100
committerMichał Górny <mgorny@gentoo.org>2018-11-10 19:15:44 +0100
commit0ca9ae31322b5d0afc5ee40037848cb74438cbba (patch)
treebec5c879d1b7b50a87eb6f8e44dd97f35a73c2ef /app-misc/mx5000tools/files
parentprofiles/desc/lcd_devices.desc: added new driver to list (diff)
downloadgentoo-0ca9ae31322b5d0afc5ee40037848cb74438cbba.tar.gz
gentoo-0ca9ae31322b5d0afc5ee40037848cb74438cbba.tar.bz2
gentoo-0ca9ae31322b5d0afc5ee40037848cb74438cbba.zip
app-misc/mx5000tools: New package
Tools for controlling the LCD on a Logitech MX5000 keyboard. Closes: https://bugs.gentoo.org/667808 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc/mx5000tools/files')
-rw-r--r--app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch b/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch
new file mode 100644
index 00000000000..9fb03d5b6aa
--- /dev/null
+++ b/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch
@@ -0,0 +1,22 @@
+--- a/configure.ac 2006-12-05 05:37:05.000000000 +0100
++++ b/configure.ac 2018-10-05 14:42:12.449181591 +0200
+@@ -13,7 +13,7 @@
+ AC_CHECK_HEADER([linux/hiddev.h], [], [AC_MSG_ERROR([You need kernel headers that supports hiddev\, that is Linux 2.4 or greater])], [#include <asm/types.h>])
+
+
+-AC_CHECK_HEADER([pbm.h], [], [AC_MSG_ERROR([You need pbm.h from the netpbm package\, possible the netpbm-devel package of your distribution])])
++AC_CHECK_HEADER([netpbm/pbm.h], [], [AC_MSG_ERROR([You need pbm.h from the netpbm package\, possible the netpbm-devel package of your distribution])])
+ AC_CHECK_LIB([netpbm],[pbm_readpbm], [], [AC_MSG_ERROR([You need netpbm installed])])
+
+
+--- a/libmx5000/mx5000image.c 2006-12-05 05:13:50.000000000 +0100
++++ b/libmx5000/mx5000image.c 2018-10-05 14:48:44.093392505 +0200
+@@ -3,7 +3,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+
+-#include <pbm.h>
++#include <netpbm/pbm.h>
+ #include "config.h"
+
+