summaryrefslogtreecommitdiffstats
path: root/source/l/netpbm/netpbm-glibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/netpbm/netpbm-glibc.patch')
-rw-r--r--source/l/netpbm/netpbm-glibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/l/netpbm/netpbm-glibc.patch b/source/l/netpbm/netpbm-glibc.patch
new file mode 100644
index 000000000..4ae71e8da
--- /dev/null
+++ b/source/l/netpbm/netpbm-glibc.patch
@@ -0,0 +1,13 @@
+--- netpbm-10.35/converter/other/pnmtotiffcmyk.c.glibc 2006-09-18 12:20:06.000000000 +0200
++++ netpbm-10.35/converter/other/pnmtotiffcmyk.c 2007-08-23 09:18:30.000000000 +0200
+@@ -974,8 +974,8 @@ int main( int argc, char **argv ) {
+
+ if ( (err = parseOpts( argc, argv, rt )) ) goto exit ;
+
+- if ( (err = rt->in->open( rt->in, rt )) ) goto exit ;
+- if ( (err = rt->out->open( rt->out, rt )) ) goto exit ;
++ if ( (err = (rt->in->open)( rt->in, rt )) ) goto exit ;
++ if ( (err = (rt->out->open)( rt->out, rt )) ) goto exit ;
+
+ while ( rt->in->hasMore( rt->in ) ) {
+ if ( (err = rt->in->next( rt->in, &r, &g, &b )) ) goto exit ;