summaryrefslogtreecommitdiff
path: root/source/l/netpbm/netpbm-gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/netpbm/netpbm-gcc4.patch')
-rw-r--r--source/l/netpbm/netpbm-gcc4.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/l/netpbm/netpbm-gcc4.patch b/source/l/netpbm/netpbm-gcc4.patch
new file mode 100644
index 00000000..3f518262
--- /dev/null
+++ b/source/l/netpbm/netpbm-gcc4.patch
@@ -0,0 +1,22 @@
+diff -up netpbm-10.58.01/lib/pm.h.gcc4 netpbm-10.58.01/lib/pm.h
+--- netpbm-10.58.01/lib/pm.h.gcc4 2012-04-09 19:08:08.885137097 +0200
++++ netpbm-10.58.01/lib/pm.h 2012-04-09 19:08:08.894136984 +0200
+@@ -18,6 +18,7 @@
+ #include <sys/types.h>
+ #include <ctype.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <errno.h>
+ #include <setjmp.h>
+ #include <sys/stat.h>
+diff -up netpbm-10.58.01/urt/rle.h.gcc4 netpbm-10.58.01/urt/rle.h
+--- netpbm-10.58.01/urt/rle.h.gcc4 2012-04-09 19:08:08.000000000 +0200
++++ netpbm-10.58.01/urt/rle.h 2012-04-09 19:08:39.137758887 +0200
+@@ -34,6 +34,7 @@
+ #define RLE_H
+
+ #include <stdio.h> /* Declare FILE. */
++#include <string.h>
+
+ enum rle_dispatch {
+ NO_DISPATCH = -1,