pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/xtel Let this package compile - no point in rede...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25e4fac53d1f
branches:  trunk
changeset: 468306:25e4fac53d1f
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Feb 12 12:57:10 2004 +0000

description:
Let this package compile - no point in redefining sys_nerr, sys_errlist
and friends these days - <errno.h> should have them.

diffstat:

 comms/xtel/distinfo         |   4 ++--
 comms/xtel/patches/patch-aa |  29 ++++++++++++++++++-----------
 2 files changed, 20 insertions(+), 13 deletions(-)

diffs (51 lines):

diff -r f40f7b99ed49 -r 25e4fac53d1f comms/xtel/distinfo
--- a/comms/xtel/distinfo       Thu Feb 12 12:07:41 2004 +0000
+++ b/comms/xtel/distinfo       Thu Feb 12 12:57:10 2004 +0000
@@ -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 -r f40f7b99ed49 -r 25e4fac53d1f comms/xtel/patches/patch-aa
--- a/comms/xtel/patches/patch-aa       Thu Feb 12 12:07:41 2004 +0000
+++ b/comms/xtel/patches/patch-aa       Thu Feb 12 12:57:10 2004 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index