pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/xemacs-current/patches Upgrade to XEmacs 21.5.34



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3b0c0e896f5
branches:  trunk
changeset: 371587:c3b0c0e896f5
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Wed Nov 15 14:57:58 2017 +0000

description:
Upgrade to XEmacs 21.5.34

Fix build on DragonFly

Was patch-aj

diffstat:

 editors/xemacs-current/patches/patch-aj                 |  22 --------------
 editors/xemacs-current/patches/patch-lib-src_fakemail.c |  26 +++++++++++++++++
 2 files changed, 26 insertions(+), 22 deletions(-)

diffs (56 lines):

diff -r a93fdb21e908 -r c3b0c0e896f5 editors/xemacs-current/patches/patch-aj
--- a/editors/xemacs-current/patches/patch-aj   Wed Nov 15 14:57:09 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2007/06/30 17:59:03 joerg Exp $
-
---- lib-src/fakemail.c.orig    2007-06-30 17:23:25.000000000 +0000
-+++ lib-src/fakemail.c
-@@ -149,15 +149,13 @@ extern int fclose (), pclose ();
- extern char *malloc (), *realloc ();
- #endif
- 
--#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 
-+#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 || defined(__DragonFly__)
- #define CURRENT_USER 
- #endif 
- 
- #ifdef CURRENT_USER
- extern struct passwd *getpwuid ();
--#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 
--extern uid_t geteuid (); 
--#else 
-+#if defined(__FreeBSD_version) && __FreeBSD_version < 400000
- extern unsigned short geteuid (); 
- #endif 
- static struct passwd *my_entry;
diff -r a93fdb21e908 -r c3b0c0e896f5 editors/xemacs-current/patches/patch-lib-src_fakemail.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xemacs-current/patches/patch-lib-src_fakemail.c   Wed Nov 15 14:57:58 2017 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-lib-src_fakemail.c,v 1.1 2017/11/15 14:57:58 hauke Exp $
+
+Fix build on DragonFly.
+
+Was patch-aj
+
+--- lib-src/fakemail.c.orig    2013-08-21 17:43:44.000000000 +0000
++++ lib-src/fakemail.c
+@@ -148,15 +148,13 @@ extern char *malloc (), *realloc ();
+ #include <osreldate.h>
+ #endif
+ 
+-#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 || defined(__DragonFly__)
+ #define CURRENT_USER 
+ #endif 
+ 
+ #ifdef CURRENT_USER
+ extern struct passwd *getpwuid ();
+-#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 
+-extern uid_t geteuid (); 
+-#else 
++#if defined(__FreeBSD_version) && __FreeBSD_version < 400000 
+ extern unsigned short geteuid (); 
+ #endif 
+ static struct passwd *my_entry;



Home | Main Index | Thread Index | Old Index