diff options
author | hauke <hauke@pkgsrc.org> | 2017-11-15 14:57:58 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2017-11-15 14:57:58 +0000 |
commit | 181d1044a38b1dd9fb48c9634de128a9c792c4a8 (patch) | |
tree | b6f34d1d3414a7798433aa0af61f02b047798063 /editors | |
parent | 81ab910494229838299dbd9fb585dfeff3a60b60 (diff) | |
download | pkgsrc-181d1044a38b1dd9fb48c9634de128a9c792c4a8.tar.gz |
Upgrade to XEmacs 21.5.34
Fix build on DragonFly
Was patch-aj
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-current/patches/patch-lib-src_fakemail.c (renamed from editors/xemacs-current/patches/patch-aj) | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/editors/xemacs-current/patches/patch-aj b/editors/xemacs-current/patches/patch-lib-src_fakemail.c index 3861df16d47..a64f47e6e21 100644 --- a/editors/xemacs-current/patches/patch-aj +++ b/editors/xemacs-current/patches/patch-lib-src_fakemail.c @@ -1,9 +1,13 @@ -$NetBSD: patch-aj,v 1.1 2007/06/30 17:59:03 joerg Exp $ +$NetBSD: patch-lib-src_fakemail.c,v 1.1 2017/11/15 14:57:58 hauke Exp $ ---- lib-src/fakemail.c.orig 2007-06-30 17:23:25.000000000 +0000 +Fix build on DragonFly. + +Was patch-aj + +--- lib-src/fakemail.c.orig 2013-08-21 17:43:44.000000000 +0000 +++ lib-src/fakemail.c -@@ -149,15 +149,13 @@ extern int fclose (), pclose (); - extern char *malloc (), *realloc (); +@@ -148,15 +148,13 @@ extern char *malloc (), *realloc (); + #include <osreldate.h> #endif -#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 @@ -16,7 +20,7 @@ $NetBSD: patch-aj,v 1.1 2007/06/30 17:59:03 joerg Exp $ -#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 -extern uid_t geteuid (); -#else -+#if defined(__FreeBSD_version) && __FreeBSD_version < 400000 ++#if defined(__FreeBSD_version) && __FreeBSD_version < 400000 extern unsigned short geteuid (); #endif static struct passwd *my_entry; |