diff options
Diffstat (limited to 'app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch')
-rw-r--r-- | app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch | 22 |
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" + + |