summaryrefslogtreecommitdiff
path: root/graphics/ploticus/patches
diff options
context:
space:
mode:
authorjdc <jdc>2006-08-22 20:51:44 +0000
committerjdc <jdc>2006-08-22 20:51:44 +0000
commit2b3df89e06c3ed698cdfff28da344043da881212 (patch)
treef8133aa274a675f6195e9025fb97542484844ccd /graphics/ploticus/patches
parent39d1dd226048ec86eddc99dfc6ccfcab1849b032 (diff)
downloadpkgsrc-2b3df89e06c3ed698cdfff28da344043da881212.tar.gz
Make this compile with gcc4.
Diffstat (limited to 'graphics/ploticus/patches')
-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,