[arch-commits] Commit in netpbm/trunk (netpbm-10.35-glibc.patch)
Eric Bélanger
eric at archlinux.org
Wed Jul 8 05:20:44 UTC 2009
Date: Wednesday, July 8, 2009 @ 01:20:44
Author: eric
Revision: 45166
added glibc compile patch
Added:
netpbm/trunk/netpbm-10.35-glibc.patch
--------------------------+
netpbm-10.35-glibc.patch | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: netpbm-10.35-glibc.patch
===================================================================
--- netpbm-10.35-glibc.patch (rev 0)
+++ netpbm-10.35-glibc.patch 2009-07-08 05:20:44 UTC (rev 45166)
@@ -0,0 +1,37 @@
+--- converter/ppm/xvminitoppm.c.orig 2009-07-07 22:12:25.000000000 -0400
++++ converter/ppm/xvminitoppm.c 2009-07-07 22:13:22.000000000 -0400
+@@ -52,7 +52,7 @@
+
+
+ static void
+-getline(FILE * const ifP,
++get_line(FILE * const ifP,
+ char * const buf,
+ size_t const size) {
+
+@@ -105,7 +105,7 @@
+ int rc;
+ bool endOfComments;
+
+- getline(ifP, buf, sizeof(buf));
++ get_line(ifP, buf, sizeof(buf));
+
+ if (!STRNEQ(buf, "P7 332", 6))
+ pm_error("Input is not a XV thumbnail picture. It does not "
+@@ -113,14 +113,14 @@
+
+ endOfComments = FALSE;
+ while (!endOfComments) {
+- getline(ifP, buf, sizeof(buf));
++ get_line(ifP, buf, sizeof(buf));
+ if (STRNEQ(buf, "#END_OF_COMMENTS", 16))
+ endOfComments = TRUE;
+ else if (STRNEQ(buf, "#BUILTIN", 8))
+ pm_error("This program does not know how to "
+ "convert builtin XV thumbnail pictures");
+ }
+- getline(ifP, buf, sizeof(buf));
++ get_line(ifP, buf, sizeof(buf));
+ rc = sscanf(buf, "%u %u %u", &cols, &rows, &maxval);
+ if (rc != 3)
+ pm_error("error parsing dimension info '%s'. "
More information about the arch-commits
mailing list