summaryrefslogtreecommitdiff
path: root/graphics/ploticus
diff options
context:
space:
mode:
authorjdc <jdc@pkgsrc.org>2006-08-22 20:51:44 +0000
committerjdc <jdc@pkgsrc.org>2006-08-22 20:51:44 +0000
commit6cbbe8cdf930105e264e0aaafe9c02ac0fb19428 (patch)
treef8133aa274a675f6195e9025fb97542484844ccd /graphics/ploticus
parent385205283bd4f839fe7c46d9b4565d327d42897b (diff)
downloadpkgsrc-6cbbe8cdf930105e264e0aaafe9c02ac0fb19428.tar.gz
Make this compile with gcc4.
Diffstat (limited to 'graphics/ploticus')
-rw-r--r--graphics/ploticus/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/ploticus/patches/patch-ab b/graphics/ploticus/patches/patch-ab
new file mode 100644
index 00000000000..50e778452f0
--- /dev/null
+++ b/graphics/ploticus/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.3 2006/08/22 20:51:44 jdc Exp $
+
+--- gd16.c.orig 2001-07-12 15:24:23.000000000 +0100
++++ gd16.c 2006-08-22 21:15:41.000000000 +0100
+@@ -1477,7 +1477,7 @@
+ return cmpStatus;
+ }
+
+-int cost[] = {
++static int cost[] = {
+ 1024,
+ 1023,
+ 1023,
+@@ -1840,7 +1840,7 @@
+ 1023
+ };
+
+-int sint[] = {
++static int sint[] = {
+ 0,
+ 17,
+ 35,