summaryrefslogtreecommitdiff
path: root/x11/xearth
diff options
context:
space:
mode:
authortron <tron>2002-09-12 18:50:28 +0000
committertron <tron>2002-09-12 18:50:28 +0000
commit5ad5631b756cc97dc567f348193ac3373c32910e (patch)
tree471cf055280acd759bc28a6fcdfc26de2e88163d /x11/xearth
parent4051c66d6b322b4b98365a970784027965815a99 (diff)
downloadpkgsrc-5ad5631b756cc97dc567f348193ac3373c32910e.tar.gz
Fix build problem under NetBSD-current.
Diffstat (limited to 'x11/xearth')
-rw-r--r--x11/xearth/distinfo4
-rw-r--r--x11/xearth/patches/patch-aa20
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);