From d9c834e179e41955c3350d0ed067372d551dc084 Mon Sep 17 00:00:00 2001 From: fredb Date: Thu, 3 May 2001 18:46:07 +0000 Subject: Should be OK to include unconditionally in "misc.c", to get the proper definition of "BSD", since it's already done so in "main.c". --- x11/hanterm/distinfo | 4 ++-- x11/hanterm/patches/patch-aa | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'x11/hanterm') diff --git a/x11/hanterm/distinfo b/x11/hanterm/distinfo index a51674b10a4..affb96a1bd3 100644 --- a/x11/hanterm/distinfo +++ b/x11/hanterm/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2001/05/03 18:37:47 fredb Exp $ +$NetBSD: distinfo,v 1.4 2001/05/03 18:46:07 fredb Exp $ SHA1 (hanterm-3.1.4.tar.gz) = 6b88d880f78a85e46ffc7d1c448148ba551dff8f Size (hanterm-3.1.4.tar.gz) = 219740 bytes -SHA1 (patch-aa) = ecb7dc3d4a4b155b3d71e873f3ce5b56c2d6a91f +SHA1 (patch-aa) = 515b7d8e253a18196ea9175d6aa132f88fd22a17 SHA1 (patch-ab) = 8b861979eeffc3e9763f4a2162c0e007c61f1a6c SHA1 (patch-ac) = 4c6b6efc12f2e1fba6eb577c65c94d701574353b SHA1 (patch-ad) = e6bf91a30c1b318c2f60ac8590e4842d9e8bab12 diff --git a/x11/hanterm/patches/patch-aa b/x11/hanterm/patches/patch-aa index d135ca8a76e..924e2b83029 100644 --- a/x11/hanterm/patches/patch-aa +++ b/x11/hanterm/patches/patch-aa @@ -1,15 +1,15 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/10/30 03:02:23 itojun Exp $ ---- misc.c- Sun Oct 29 18:04:16 2000 -+++ misc.c Sun Oct 29 18:04:33 2000 -@@ -903,11 +903,2 @@ - { --#if defined(linux) && defined(__GLIBC__) -- extern const char *const sys_errlist[]; --#else --#if (defined(BSD) && (BSD >= 199306)) -- /* in *BSD, should be null because it is already declared */ --#else -- extern char *sys_errlist[]; +$NetBSD: patch-aa,v 1.2 2001/05/03 18:46:08 fredb Exp $ + +--- misc.c.orig Tue Jun 1 15:46:49 1999 ++++ misc.c +@@ -35,10 +35,7 @@ + #include + #include + +-/* added by cjh. for detecting *BSD family correctly */ +-#if (defined(__unix__) || defined(unix)) && !defined(USG) + #include -#endif --#endif - extern int sys_nerr; + + #include + #include -- cgit v1.2.3