aboutsummaryrefslogtreecommitdiff
path: root/security/sudosh2
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2009-01-18 04:25:41 +0000
committerCy Schubert <cy@FreeBSD.org>2009-01-18 04:25:41 +0000
commit731322da1952738e1b749915719bc3c04960a50b (patch)
tree12b03293e8dc216ee1add4fd08ff405aee192914 /security/sudosh2
parentd85c8a1c8f7f33c61cecd2b1a59692d485bbec2c (diff)
downloadports-731322da1952738e1b749915719bc3c04960a50b.tar.gz
ports-731322da1952738e1b749915719bc3c04960a50b.zip
Notes
Diffstat (limited to 'security/sudosh2')
-rw-r--r--security/sudosh2/files/patch-src-getopt.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/sudosh2/files/patch-src-getopt.c b/security/sudosh2/files/patch-src-getopt.c
new file mode 100644
index 000000000000..ba8dff15118d
--- /dev/null
+++ b/security/sudosh2/files/patch-src-getopt.c
@@ -0,0 +1,11 @@
+--- src/getopt.c.orig 2007-12-21 13:03:26.000000000 -0800
++++ src/getopt.c 2008-09-26 13:45:11.958473185 -0700
+@@ -195,6 +195,8 @@
+ /* gcc with -traditional declares the built-in strlen to return int,
+ and has done so at least since version 2.4.5. -- rms. */
+ extern int strlen(const char *);
++#else
++#include <string.h>
+ #endif /* not __STDC__ */
+ #endif /* __GNUC__ */
+