summaryrefslogtreecommitdiffstats
path: root/contrib/gperf/lib/getopt.c.patch
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-25 07:45:29 +0000
committerkris <kris@FreeBSD.org>2000-03-25 07:45:29 +0000
commit533744c77137b94ed05e2ca445ba97d71c79ee5f (patch)
treefa102ad70fa8d5585900bf7e1872826b467f5d2e /contrib/gperf/lib/getopt.c.patch
parent6cfe3ae61b383acc12d75bc595be2ab185d5586c (diff)
downloadFreeBSD-src-533744c77137b94ed05e2ca445ba97d71c79ee5f.zip
FreeBSD-src-533744c77137b94ed05e2ca445ba97d71c79ee5f.tar.gz
Virgin import of gperf v2.7
Diffstat (limited to 'contrib/gperf/lib/getopt.c.patch')
-rw-r--r--contrib/gperf/lib/getopt.c.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/gperf/lib/getopt.c.patch b/contrib/gperf/lib/getopt.c.patch
new file mode 100644
index 0000000..6fedd84
--- /dev/null
+++ b/contrib/gperf/lib/getopt.c.patch
@@ -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)
OpenPOWER on IntegriCloud