aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/p5-DBD-InterBase/Makefile2
-rw-r--r--databases/p5-DBD-InterBase/distinfo3
-rw-r--r--databases/p5-DBD-InterBase/files/patch-dbdimp.c36
3 files changed, 39 insertions, 2 deletions
diff --git a/databases/p5-DBD-InterBase/Makefile b/databases/p5-DBD-InterBase/Makefile
index 0ad2f40a16a0..a7e013a3c644 100644
--- a/databases/p5-DBD-InterBase/Makefile
+++ b/databases/p5-DBD-InterBase/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= DBD-InterBase
-PORTVERSION= 0.42
+PORTVERSION= 0.43
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
diff --git a/databases/p5-DBD-InterBase/distinfo b/databases/p5-DBD-InterBase/distinfo
index 272fd2b59171..0a04959b99a0 100644
--- a/databases/p5-DBD-InterBase/distinfo
+++ b/databases/p5-DBD-InterBase/distinfo
@@ -1 +1,2 @@
-MD5 (DBD-InterBase-0.42.tar.gz) = ee432836596c0fff151927522295c076
+MD5 (DBD-InterBase-0.43.tar.gz) = 70d0142378ab928d9a75e465426d2437
+SIZE (DBD-InterBase-0.43.tar.gz) = 79589
diff --git a/databases/p5-DBD-InterBase/files/patch-dbdimp.c b/databases/p5-DBD-InterBase/files/patch-dbdimp.c
new file mode 100644
index 000000000000..bcbe93e2b2d9
--- /dev/null
+++ b/databases/p5-DBD-InterBase/files/patch-dbdimp.c
@@ -0,0 +1,36 @@
+--- dbdimp.c 2004/02/25 04:38:03 1.105
++++ dbdimp.c 2004/03/03 11:26:48 1.106
+@@ -1,5 +1,5 @@
+ /*
+- $Id: dbdimp.c,v 1.105 2004/02/25 04:38:03 edpratomo Exp $
++ $Id: dbdimp.c,v 1.106 2004/03/03 11:26:48 edpratomo Exp $
+
+ Copyright (c) 1999-2004 Edwin Pratomo
+ Portions Copyright (c) 2001-2003 Daniel Ritz
+@@ -2185,7 +2185,7 @@
+ DBI_TRACE(1, (DBILOGFP, "ib_fill_isqlda: SQL_VARYING\n"));
+ {
+ char buf[25]; /* long long can have max 20 chars. */
+- char *tmp;
++ char *tmp = NULL;
+ if (ivar->sqldata == (char *) NULL)
+ {
+ if ((ivar->sqldata = (char *)safemalloc(
+@@ -2204,7 +2204,7 @@
+ tmp = buf;
+ len = sprintf(tmp, "%ld", SvNV(value));
+ }
+- else if (SvPOK(value)) {
++ else if (SvPOK(value) || (SvTYPE(value) == SVt_PVMG)) {
+ len = SvCUR(value);
+ tmp = SvPV_nolen(value);
+ }
+@@ -2261,7 +2261,7 @@
+ tmp = buf;
+ len = sprintf(tmp, "%ld", SvNV(value));
+ }
+- else if (SvPOK(value)) {
++ else if (SvPOK(value) || (SvTYPE(value) == SVt_PVMG)) {
+ len = SvCUR(value);
+ tmp = SvPV_nolen(value);
+ }