Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: gperf/src/gperf/3.0.1/gperf-3.0.1-src/lib/getopt.c.patch

Issue 10804012: Add native Windows binary for gperf. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gperf/src/gperf/3.0.1/gperf-3.0.1-src/lib/getopt.c.patch
===================================================================
--- gperf/src/gperf/3.0.1/gperf-3.0.1-src/lib/getopt.c.patch (revision 0)
+++ gperf/src/gperf/3.0.1/gperf-3.0.1-src/lib/getopt.c.patch (revision 0)
@@ -0,0 +1,25 @@
+getopt.c is a modified version of the getopt.c found in the glibc snapshot
+on 1998-04-14. Below the patch that has been applied to this file. The glibc
+maintainer has been informed of these patches.
+
+diff -c3 getopt.c.orig getopt.c
+*** getopt.c.orig Sun Mar 8 16:06:55 1998
+--- getopt.c Thu Apr 16 00:09:41 1998
+***************
+*** 201,207 ****
+ /* Avoid depending on library functions or files
+ whose names are inconsistent. */
+
+! char *getenv ();
+
+ static char *
+ my_index (str, chr)
+--- 201,208 ----
+ /* Avoid depending on library functions or files
+ whose names are inconsistent. */
+
+! extern char *getenv ();
+! extern int strncmp ();
+
+ static char *
+ my_index (str, chr)
« no previous file with comments | « gperf/src/gperf/3.0.1/gperf-3.0.1-src/lib/getopt.c ('k') | gperf/src/gperf/3.0.1/gperf-3.0.1-src/lib/getopt.h.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698