aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/xemacs-devel/files/patch-ai20
-rw-r--r--editors/xemacs/files/patch-ai20
-rw-r--r--editors/xemacs20/files/patch-ai20
-rw-r--r--editors/xemacs21/files/patch-ai20
4 files changed, 80 insertions, 0 deletions
diff --git a/editors/xemacs-devel/files/patch-ai b/editors/xemacs-devel/files/patch-ai
new file mode 100644
index 000000000000..c91881639c5e
--- /dev/null
+++ b/editors/xemacs-devel/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 ())), \
diff --git a/editors/xemacs/files/patch-ai b/editors/xemacs/files/patch-ai
new file mode 100644
index 000000000000..c91881639c5e
--- /dev/null
+++ b/editors/xemacs/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 ())), \
diff --git a/editors/xemacs20/files/patch-ai b/editors/xemacs20/files/patch-ai
new file mode 100644
index 000000000000..c91881639c5e
--- /dev/null
+++ b/editors/xemacs20/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 ())), \
diff --git a/editors/xemacs21/files/patch-ai b/editors/xemacs21/files/patch-ai
new file mode 100644
index 000000000000..c91881639c5e
--- /dev/null
+++ b/editors/xemacs21/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 ())), \