diff options
Diffstat (limited to 'graphics/gimp-app/files')
-rw-r--r-- | graphics/gimp-app/files/patch-plug-ins_print_print-escp2_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gimp-app/files/patch-plug-ins_print_print-escp2_c b/graphics/gimp-app/files/patch-plug-ins_print_print-escp2_c new file mode 100644 index 000000000000..9575c80c7952 --- /dev/null +++ b/graphics/gimp-app/files/patch-plug-ins_print_print-escp2_c @@ -0,0 +1,20 @@ +--- plug-ins/print/print-escp2.c.orig Fri Oct 13 01:17:44 2000 ++++ plug-ins/print/print-escp2.c Fri Oct 13 01:18:14 2000 +@@ -26,6 +26,8 @@ + * compile on generic platforms that don't support glib, gimp, gtk, etc. + */ + ++#include <sys/types.h> ++ + #ifndef WEAVETEST + #include "print.h" + #endif +@@ -4000,7 +4002,7 @@ + if (lineoffs[0].v[j] != 0) + fprintf(stderr, + "WARNING: pass %d subpass %d row %d: lineoffs %ld\n", +- w.pass, i, row, lineoffs[0].v[j]); ++ w.pass, i, row, (long)lineoffs[0].v[j]); + lineoffs[0].v[j] = 0; + lineactive[0].v[j] = 0; + } |