From 2c08e0d917c4edd460fc4cd6a88105c148d9013f Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 10 Oct 2005 12:11:46 +0000 Subject: Don't declare errno, if it exists as macro already. --- x11/xforms/distinfo | 3 ++- x11/xforms/patches/patch-ag | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 x11/xforms/patches/patch-ag (limited to 'x11') diff --git a/x11/xforms/distinfo b/x11/xforms/distinfo index c7f74f5aad9..59d4ed7d537 100644 --- a/x11/xforms/distinfo +++ b/x11/xforms/distinfo @@ -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-ac) = 55c32e091b1da5441e4c652d3e4a002202a6d076 SHA1 (patch-ad) = 324100fb05e723fbaa92126e279074860c842f1b SHA1 (patch-ae) = ba8b68d7e886311cb2fbfe4e0a45e975e7790821 SHA1 (patch-af) = f3fdbbb2a103505e6f18608f0c3882cc1d264b00 +SHA1 (patch-ag) = 3dde38a74cbbb1943eefd78f3df56a8de3c0f74f diff --git a/x11/xforms/patches/patch-ag b/x11/xforms/patches/patch-ag new file mode 100644 index 00000000000..4aac4f8a6fb --- /dev/null +++ b/x11/xforms/patches/patch-ag @@ -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[]; -- cgit v1.2.3