summaryrefslogtreecommitdiff
path: root/games/znibbles/files/patch-src::getopt.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-10-26 14:05:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-10-26 14:05:11 +0000
commitf8f04af8cae40a244ede4a3db744dee28c32a02a (patch)
treed7972e07690f0808e673c29177a612a5d2f62b58 /games/znibbles/files/patch-src::getopt.c
parentCorrect RUN_DEPENDS. (diff)
Makes games/znibbles compiling again with gcc 3.2.1.
The patch has become somebody bigger than I was hoping for. And the original author is MIA... Approved by: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> (maintainer)
Notes
Notes: svn path=/head/; revision=68869
Diffstat (limited to 'games/znibbles/files/patch-src::getopt.c')
-rw-r--r--games/znibbles/files/patch-src::getopt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/znibbles/files/patch-src::getopt.c b/games/znibbles/files/patch-src::getopt.c
new file mode 100644
index 000000000000..9ba3f2f0bcae
--- /dev/null
+++ b/games/znibbles/files/patch-src::getopt.c
@@ -0,0 +1,10 @@
+--- src/getopt.c Tue Apr 27 09:38:18 1999
++++ src/getopt.c Sat Oct 26 00:48:50 2002
+@@ -40,6 +40,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <string.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not
+ actually compiling the library itself. This code is part of the GNU C