summaryrefslogtreecommitdiff
path: root/editors/xemacs21-mule/files/patch-ai
diff options
context:
space:
mode:
authorKiriyama Kazuhiko <kiri@FreeBSD.org>2003-05-09 06:24:46 +0000
committerKiriyama Kazuhiko <kiri@FreeBSD.org>2003-05-09 06:24:46 +0000
commit98064a7a323118d9f1424ecc93966b18cebf309c (patch)
treef95900ae3f83e91cb62cb909a20a55fd88e22d39 /editors/xemacs21-mule/files/patch-ai
parentChange MAINTAINER and sevral corrections. (diff)
Add additinal files for move xemacs21-mule to version 21.4.12.
Notes
Notes: svn path=/head/; revision=80511
Diffstat (limited to 'editors/xemacs21-mule/files/patch-ai')
-rw-r--r--editors/xemacs21-mule/files/patch-ai20
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/xemacs21-mule/files/patch-ai b/editors/xemacs21-mule/files/patch-ai
new file mode 100644
index 000000000000..c91881639c5e
--- /dev/null
+++ b/editors/xemacs21-mule/files/patch-ai
@@ -0,0 +1,20 @@
+--- lib-src/fakemail.c.orig Tue Mar 23 22:09:58 1999
++++ lib-src/fakemail.c Tue Mar 23 22:12:20 1999
+@@ -157,9 +157,17 @@
+ extern char *malloc (), *realloc ();
+ #endif
+
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000
++#define CURRENT_USER
++#endif
++
+ #ifdef CURRENT_USER
+ extern struct passwd *getpwuid ();
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000
++extern uid_t geteuid ();
++#else
+ extern unsigned short geteuid ();
++#endif
+ static struct passwd *my_entry;
+ #define cuserid(s) \
+ (my_entry = getpwuid (((int) geteuid ())), \