summaryrefslogtreecommitdiff
path: root/app-misc/mx5000tools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /app-misc/mx5000tools/files
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
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 000000000000..9fb03d5b6aa3
--- /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"
+
+