diff options
author | cy <cy@FreeBSD.org> | 2009-01-18 12:25:41 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2009-01-18 12:25:41 +0800 |
commit | 6e9fb4305563a422d256214678df481bf70fda77 (patch) | |
tree | 657ba138dec17cefaa177619068a07766f6ff1a3 /security | |
parent | 3711919dca9c938b0120c2d376f3d615c2a29fde (diff) | |
download | freebsd-ports-gnome-6e9fb4305563a422d256214678df481bf70fda77.tar.gz freebsd-ports-gnome-6e9fb4305563a422d256214678df481bf70fda77.tar.zst freebsd-ports-gnome-6e9fb4305563a422d256214678df481bf70fda77.zip |
Fix compile time errors.
Diffstat (limited to 'security')
-rw-r--r-- | security/sudosh2/files/patch-src-getopt.c | 11 | ||||
-rw-r--r-- | security/sudosh3/files/patch-src-getopt.c | 11 |
2 files changed, 22 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__ */ + diff --git a/security/sudosh3/files/patch-src-getopt.c b/security/sudosh3/files/patch-src-getopt.c new file mode 100644 index 000000000000..ba8dff15118d --- /dev/null +++ b/security/sudosh3/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__ */ + |