pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xforms Don't declare errno, if it exists as macro ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58c4fadacdbf
branches:  trunk
changeset: 500539:58c4fadacdbf
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 10 12:11:46 2005 +0000

description:
Don't declare errno, if it exists as macro already.

diffstat:

 x11/xforms/distinfo         |   3 ++-
 x11/xforms/patches/patch-ag |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 600daf44fabb -r 58c4fadacdbf x11/xforms/distinfo
--- a/x11/xforms/distinfo       Mon Oct 10 11:35:19 2005 +0000
+++ b/x11/xforms/distinfo       Mon Oct 10 12:11:46 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2005/02/23 17:36:23 wiz Exp $
+$NetBSD: distinfo,v 1.15 2005/10/10 12:11:46 joerg Exp $
 
 SHA1 (xforms-1.0-release.tgz) = e25a31351c52472de88352388cf879512b20fc62
 RMD160 (xforms-1.0-release.tgz) = 18ccbff4df5e0e3786341a5ab4f8af6e2fd4fd92
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 324100fb05e723fbaa92126e279074860c842f1b
 SHA1 (patch-ae) = ba8b68d7e886311cb2fbfe4e0a45e975e7790821
 SHA1 (patch-af) = f3fdbbb2a103505e6f18608f0c3882cc1d264b00
+SHA1 (patch-ag) = 3dde38a74cbbb1943eefd78f3df56a8de3c0f74f
diff -r 600daf44fabb -r 58c4fadacdbf x11/xforms/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xforms/patches/patch-ag       Mon Oct 10 12:11:46 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1 2005/10/10 12:11:47 joerg Exp $
+
+--- lib/errmsg.c.orig  2005-07-22 18:01:01.000000000 +0000
++++ lib/errmsg.c
+@@ -51,7 +51,10 @@ char *id_errm = "$Id: errmsg.c,v 0.80 19
+ 
+ #include "forms.h"
+ #include "ulib.h"
++
++#ifndef errno
+ extern int errno;             /* system error no            */
++#endif
+ 
+ #ifdef DONT_HAVE_STRERROR
+ extern char *sys_errlist[];



Home | Main Index | Thread Index | Old Index