pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/xemacs-current/patches
Module Name: pkgsrc
Committed By: hauke
Date: Wed Nov 15 14:57:58 UTC 2017
Added Files:
pkgsrc/editors/xemacs-current/patches: patch-lib-src_fakemail.c
Removed Files:
pkgsrc/editors/xemacs-current/patches: patch-aj
Log Message:
Upgrade to XEmacs 21.5.34
Fix build on DragonFly
Was patch-aj
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 pkgsrc/editors/xemacs-current/patches/patch-aj
cvs rdiff -u -r0 -r1.1 \
pkgsrc/editors/xemacs-current/patches/patch-lib-src_fakemail.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/editors/xemacs-current/patches/patch-lib-src_fakemail.c
diff -u /dev/null pkgsrc/editors/xemacs-current/patches/patch-lib-src_fakemail.c:1.1
--- /dev/null Wed Nov 15 14:57:58 2017
+++ pkgsrc/editors/xemacs-current/patches/patch-lib-src_fakemail.c Wed Nov 15 14:57:58 2017
@@ -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