aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Shape
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-23 22:47:12 +0800
committerkrion <krion@FreeBSD.org>2004-08-23 22:47:12 +0800
commit4d6593fbf006b994b8dcc3e4cf2c259bdd66a5ba (patch)
tree91ee6e84ccd958bafa56d02004e9868a07855cef /devel/p5-Shape
parent47eb9113c62461044a7324cc4a8103e84b8d446f (diff)
downloadfreebsd-ports-gnome-4d6593fbf006b994b8dcc3e4cf2c259bdd66a5ba.tar.gz
freebsd-ports-gnome-4d6593fbf006b994b8dcc3e4cf2c259bdd66a5ba.tar.zst
freebsd-ports-gnome-4d6593fbf006b994b8dcc3e4cf2c259bdd66a5ba.zip
Fix build with gcc-3.4
Diffstat (limited to 'devel/p5-Shape')
-rw-r--r--devel/p5-Shape/files/patch-Shape.xs16
1 files changed, 14 insertions, 2 deletions
diff --git a/devel/p5-Shape/files/patch-Shape.xs b/devel/p5-Shape/files/patch-Shape.xs
index bb3c71acd5a1..5b0f44b1a216 100644
--- a/devel/p5-Shape/files/patch-Shape.xs
+++ b/devel/p5-Shape/files/patch-Shape.xs
@@ -1,5 +1,8 @@
---- Shape.xs.orig Tue Oct 7 05:38:12 2003
-+++ Shape.xs Tue Oct 7 05:38:19 2003
+
+$FreeBSD$
+
+--- Shape.xs.orig Tue Mar 4 14:18:00 2003
++++ Shape.xs Mon Aug 23 16:42:18 2004
@@ -2,7 +2,7 @@
#include "perl.h"
#include "XSUB.h"
@@ -9,3 +12,12 @@
MODULE = Shape PACKAGE = Shape
+@@ -389,7 +389,7 @@
+ case FTDouble:
+ if (!(sv = newSVnv(DBFReadDoubleAttribute(hDBF,record,field)))) goto BREAK;
+ break;
+- default:
++ default: break;
+ }
+
+ hv_store(hv2, field_name, strlen(field_name), sv, 0);