diff options
author | Gary Jennejohn <gj@FreeBSD.org> | 2008-02-14 11:20:30 +0000 |
---|---|---|
committer | Gary Jennejohn <gj@FreeBSD.org> | 2008-02-14 11:20:30 +0000 |
commit | 48bbdaa2d449496825663879489a17bdc45f925a (patch) | |
tree | 7f6fcd6caba2b548876810a60e6d58bf5168efc2 /editors/xvile | |
parent | Update to 5.1.23 release. (diff) |
Add patch-filec.c to hopefully fix problems seen on the build machines. It
basically forces the extern char **environ; declaration to be exposed.
I was unable to reproduce the reported errors on my machines without
modifying a header file. But if I do that then I can build vile and xvile
without errors using this patch.
Notes
Notes:
svn path=/head/; revision=207194
Diffstat (limited to 'editors/xvile')
-rw-r--r-- | editors/xvile/files/patch-filec.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/xvile/files/patch-filec.c b/editors/xvile/files/patch-filec.c new file mode 100644 index 000000000000..a6faea39511f --- /dev/null +++ b/editors/xvile/files/patch-filec.c @@ -0,0 +1,11 @@ +--- filec.c.orig 2008-02-14 11:54:22.713522435 +0100 ++++ filec.c 2008-02-14 11:55:24.224617839 +0100 +@@ -38,7 +38,7 @@ + + #define isDotname(leaf) (!strcmp(leaf, ".") || !strcmp(leaf, "..")) + +-#if defined(MISSING_EXTERN_ENVIRON) || (defined(__DJGPP__) && __DJGPP__ >= 2) ++#if defined(MISSING_EXTERN_ENVIRON) || (defined(__DJGPP__) && __DJGPP__ >= 2) || defined(__BSD_VISIBLE) + extern char **environ; + #endif + |