summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-02-12 12:57:10 +0000
committeragc <agc@pkgsrc.org>2004-02-12 12:57:10 +0000
commitdbeaa21cdfaf12a75c13026c01ca0b22fee1226d (patch)
tree75d9513126bec231dbc3b7f8a96db69531d7c4d9
parent9b85d22e1003bd3ffd28472cef3ce5538a65a1ee (diff)
downloadpkgsrc-dbeaa21cdfaf12a75c13026c01ca0b22fee1226d.tar.gz
Let this package compile - no point in redefining sys_nerr, sys_errlist
and friends these days - <errno.h> should have them.
-rw-r--r--comms/xtel/distinfo4
-rw-r--r--comms/xtel/patches/patch-aa29
2 files changed, 20 insertions, 13 deletions
diff --git a/comms/xtel/distinfo b/comms/xtel/distinfo
index f87ef378d6f..0233edc3a61 100644
--- a/comms/xtel/distinfo
+++ b/comms/xtel/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/01/12 18:34:56 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2004/02/12 12:57:10 agc Exp $
SHA1 (xtel-3.3.0.tar.gz) = 7ee5a5afa20bea46e08c346605c53cdd32d69dc9
Size (xtel-3.3.0.tar.gz) = 309426 bytes
-SHA1 (patch-aa) = 0999c576cfc6ce74b66a12735fe3b4ef98dcabe4
+SHA1 (patch-aa) = 648ff6a6a1bffd836a28abed1f0da5e781d61d53
SHA1 (patch-ab) = 28e8c26a36de294e3982a4f4edac53e4780ec2fe
SHA1 (patch-ac) = 24f9725a2636f3719ec53f14c490af47e834b4fa
SHA1 (patch-ad) = 59a8a6e2da9ecc4c954853f8d2edc47723408a4d
diff --git a/comms/xtel/patches/patch-aa b/comms/xtel/patches/patch-aa
index dccd1f123e4..42541194305 100644
--- a/comms/xtel/patches/patch-aa
+++ b/comms/xtel/patches/patch-aa
@@ -1,15 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/01/12 18:34:56 bouyer Exp $
+$NetBSD: patch-aa,v 1.2 2004/02/12 12:57:10 agc Exp $
--- Xsra/SelFile.c.orig Sat Jan 12 17:52:02 2002
+++ Xsra/SelFile.c Sat Jan 12 17:52:18 2002
-@@ -48,8 +48,10 @@
- extern int errno;
- extern int sys_nerr;
- #ifndef __FreeBSD__
-+#ifndef __NetBSD__
- #ifndef __GLIBC__
- extern char *sys_errlist[];
-+#endif
- #endif
- #endif
+@@ -41,17 +41,8 @@
+ * 1-1-1 Hirakawa-cho, Chiyoda-ku
+ * Tokyo 102 Japan. TEL +81-3-234-2692
+ */
+-
+ #include <stdio.h>
+ #include <errno.h>
+-/* BSD 4.3 errno.h does not declare errno */
+-extern int errno;
+-extern int sys_nerr;
+-#ifndef __FreeBSD__
+-#ifndef __GLIBC__
+-extern char *sys_errlist[];
+-#endif
+-#endif
+ #include <sys/param.h>
+ #include <X11/cursorfont.h>