summaryrefslogtreecommitdiff
path: root/emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-23 04:30:47 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-23 04:30:47 +0000
commita9b0fa5bf5dba3c284f27435c955fe4ffe3ee361 (patch)
tree4116387668f99739e30b97a04f732f2249e12e39 /emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h
parentUpdate databases/sqlite3 to 3.0.8 (diff)
Should now build with both older and recent GCCs.
Notes
Notes: svn path=/head/; revision=124884
Diffstat (limited to 'emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h')
-rw-r--r--emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h b/emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h
new file mode 100644
index 000000000000..8d231171323c
--- /dev/null
+++ b/emulators/vx68k/files/patch-vx68k-gtk::bin::getopt.h
@@ -0,0 +1,11 @@
+--- vx68k-gtk/bin/getopt.h.orig Fri May 28 14:02:03 1999
++++ vx68k-gtk/bin/getopt.h Wed Dec 1 18:24:18 2004
+@@ -127,7 +127,7 @@
+ `getopt'. */
+
+ #if defined __STDC__ && __STDC__
+-# ifdef __GNU_LIBRARY__
++# if defined (__GNU_LIBRARY__) || defined (__FreeBSD__)
+ /* Many other libraries have conflicting prototypes for getopt, with
+ differences in the consts, in stdlib.h. To avoid compilation
+ errors, only prototype getopt for the GNU C library. */