diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-11-14 02:08:28 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-11-14 02:08:28 +0000 |
commit | 5d0e746f084f2252158e8af3b126fc1e73220b7d (patch) | |
tree | a8864c6ada50b691e362164de4191f251f16a586 /editors/xenon/files/patch-aa | |
parent | Update to version 991028-2. (diff) |
A simple X-based text editor which is based on libXpm instead of
gtk+/qt/motif/etc.
PR: 14467
Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
Diffstat (limited to 'editors/xenon/files/patch-aa')
-rw-r--r-- | editors/xenon/files/patch-aa | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/xenon/files/patch-aa b/editors/xenon/files/patch-aa new file mode 100644 index 000000000000..bef0fb7fb3d4 --- /dev/null +++ b/editors/xenon/files/patch-aa @@ -0,0 +1,26 @@ +--- Xe.C.orig Fri Oct 22 00:20:19 1999 ++++ Xe.C Fri Oct 22 18:45:53 1999 +@@ -41,9 +41,11 @@ + // Home directory lookup function. + // + ++#ifndef __FreeBSD__ + extern "C" { + extern char* cuserid(char*); + } ++#endif + + void + getHomeDir(char* pathname) +@@ -57,8 +59,10 @@ + + // $$$ cuserid _should_ be in unistd.h, but egcs + // complains that it isn't declared +- username = (char*)cuserid(NULL); ++#ifndef __FreeBSD__ ++ username = (char*)cuserid(NULL) + if (username == 0) ++#endif + username = getlogin(); + + if (username) |