aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-12-28 23:35:22 +0800
committernork <nork@FreeBSD.org>2004-12-28 23:35:22 +0800
commit553c7531eabb9991f7f763169e33f9ef1d75fe9e (patch)
treea1fb6e850a9041d05c983a9f64c6f6b891a8a3ce
parenteb09ccf7c4805f2b0adfe51124d4f72c6df8b946 (diff)
downloadfreebsd-ports-gnome-553c7531eabb9991f7f763169e33f9ef1d75fe9e.tar.gz
freebsd-ports-gnome-553c7531eabb9991f7f763169e33f9ef1d75fe9e.tar.zst
freebsd-ports-gnome-553c7531eabb9991f7f763169e33f9ef1d75fe9e.zip
Fix runtime error on 4.x.
-rw-r--r--databases/p5-DBD-SQLite/Makefile2
-rw-r--r--databases/p5-DBD-SQLite/files/patch-dbdimp.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/databases/p5-DBD-SQLite/Makefile b/databases/p5-DBD-SQLite/Makefile
index ed56951ccbb8..9c83571e0e2b 100644
--- a/databases/p5-DBD-SQLite/Makefile
+++ b/databases/p5-DBD-SQLite/Makefile
@@ -7,7 +7,7 @@
PORTNAME= DBD-SQLite
PORTVERSION= 1.07
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
diff --git a/databases/p5-DBD-SQLite/files/patch-dbdimp.h b/databases/p5-DBD-SQLite/files/patch-dbdimp.h
new file mode 100644
index 000000000000..5a532389736f
--- /dev/null
+++ b/databases/p5-DBD-SQLite/files/patch-dbdimp.h
@@ -0,0 +1,10 @@
+--- dbdimp.h.orig Sat Sep 11 00:24:28 2004
++++ dbdimp.h Mon Dec 27 16:37:25 2004
+@@ -99,6 +99,7 @@
+ #define newUTF8SVpv newSVpv
+ #define newUTF8SVpvn newSVpvn
+ #define SvUTF8_on(a) (a)
++#define SvUTF8_off(a) (a)
+ #define sv_utf8_upgrade(a) (a)
+
+ #endif