summaryrefslogtreecommitdiff
path: root/source/l/netpbm/netpbm-cmuwtopbm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/netpbm/netpbm-cmuwtopbm.patch')
-rw-r--r--source/l/netpbm/netpbm-cmuwtopbm.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/l/netpbm/netpbm-cmuwtopbm.patch b/source/l/netpbm/netpbm-cmuwtopbm.patch
new file mode 100644
index 00000000..f5b328be
--- /dev/null
+++ b/source/l/netpbm/netpbm-cmuwtopbm.patch
@@ -0,0 +1,21 @@
+diff -up netpbm-10.61.01/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix netpbm-10.61.01/converter/pbm/cmuwmtopbm.c
+--- netpbm-10.61.01/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix 2013-01-02 18:39:57.000000000 +0100
++++ netpbm-10.61.01/converter/pbm/cmuwmtopbm.c 2013-01-03 05:41:36.024984241 +0100
+@@ -18,7 +18,7 @@
+ This program does not check the pad bits at the end of each row.
+ */
+
+-
++#include <stdint.h>
+ #include "pbm.h"
+
+ /*--------------------------
+@@ -42,7 +42,7 @@ readCmuwmHeader(FILE * const ifP
+ "CMU window manager header EOF / read error";
+ uint32_t const cmuwmMagic = 0xf10040bb;
+
+- long l;
++ uint32_t l;
+ short s;
+ int rc;
+