summaryrefslogtreecommitdiff
path: root/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch
blob: 9fb03d5b6aa349affaa77afe4cdf2fd4c3fbf463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"