diff options
author | tron <tron@pkgsrc.org> | 2002-09-12 18:50:28 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-09-12 18:50:28 +0000 |
commit | 4b06af5b33183142e9ea7c14d779ced24a7ccb1a (patch) | |
tree | 471cf055280acd759bc28a6fcdfc26de2e88163d | |
parent | e2c3ff7155a7dfbb98e373bcf2ec0e89b10abc25 (diff) | |
download | pkgsrc-4b06af5b33183142e9ea7c14d779ced24a7ccb1a.tar.gz |
Fix build problem under NetBSD-current.
-rw-r--r-- | x11/xearth/distinfo | 4 | ||||
-rw-r--r-- | x11/xearth/patches/patch-aa | 20 |
2 files changed, 17 insertions, 7 deletions
diff --git a/x11/xearth/distinfo b/x11/xearth/distinfo index d8ce329b6a7..48afa4237ad 100644 --- a/x11/xearth/distinfo +++ b/x11/xearth/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2001/07/10 14:32:32 atatat Exp $ +$NetBSD: distinfo,v 1.4 2002/09/12 18:50:28 tron Exp $ SHA1 (xearth-1.1.tar.gz) = 5b664648ff592d6f29a96a17823ec59db4958b1d Size (xearth-1.1.tar.gz) = 157887 bytes -SHA1 (patch-aa) = e97ad3e3f0282bbe8bb6077f7ae4447b4403503d +SHA1 (patch-aa) = dd176226e315426a382a7170a4b2c08901a9beaa diff --git a/x11/xearth/patches/patch-aa b/x11/xearth/patches/patch-aa index e7f17fb243c..43d066279ba 100644 --- a/x11/xearth/patches/patch-aa +++ b/x11/xearth/patches/patch-aa @@ -1,7 +1,17 @@ -$NetBSD: patch-aa,v 1.7 2002/05/20 19:12:22 cjep Exp $ ---- scan.c.orig Sun Nov 7 01:51:55 1999 -+++ scan.c Tue Jul 10 09:31:14 2001 -@@ -626,6 +626,10 @@ +$NetBSD: patch-aa,v 1.8 2002/09/12 18:50:29 tron Exp $ + +--- scan.c.orig Sun Nov 7 07:51:55 1999 ++++ scan.c Thu Sep 12 20:48:45 2002 +@@ -43,6 +43,8 @@ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + ++#include <limits.h> ++ + #include "xearth.h" + #include "kljcpyrt.h" + +@@ -626,6 +628,10 @@ right = XPROJECT(M_PI); top = YPROJECT(BigNumber); bottom = YPROJECT(-BigNumber); @@ -12,7 +22,7 @@ $NetBSD: patch-aa,v 1.7 2002/05/20 19:12:22 cjep Exp $ scan(right, top, left, top); scan(left, top, left, bottom); -@@ -995,6 +999,10 @@ +@@ -995,6 +1001,10 @@ right = XPROJECT(M_PI); top = YPROJECT(BigNumber); bottom = YPROJECT(-BigNumber); |