diff options
author | fredb <fredb@pkgsrc.org> | 2001-05-03 18:46:07 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2001-05-03 18:46:07 +0000 |
commit | b99e98ee19d8bbed1a109d617c17635267369e1e (patch) | |
tree | 28cbad3f3b9cc3f0849eb25d95acbcd47f4ae7ee /x11 | |
parent | 13499173ecc7efafa4d309349aa6d64e6adafdfd (diff) | |
download | pkgsrc-b99e98ee19d8bbed1a109d617c17635267369e1e.tar.gz |
Should be OK to include <sys/param.h> unconditionally in "misc.c", to get
the proper definition of "BSD", since it's already done so in "main.c".
Diffstat (limited to 'x11')
-rw-r--r-- | x11/hanterm/distinfo | 4 | ||||
-rw-r--r-- | x11/hanterm/patches/patch-aa | 28 |
2 files changed, 16 insertions, 16 deletions
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 <pwd.h> + #include <errno.h> + +-/* added by cjh. for detecting *BSD family correctly */ +-#if (defined(__unix__) || defined(unix)) && !defined(USG) + #include <sys/param.h> -#endif --#endif - extern int sys_nerr; + + #include <X11/Xatom.h> + #include <X11/cursorfont.h> |