summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-03-24 09:06:02 +0000
committerskv <skv@FreeBSD.org>2004-03-24 09:06:02 +0000
commit05f9ebdd2efc36d44f566de210aa97855ca6d860 (patch)
treeaf421215f4ac46bcbe9926b2ecf3cb70ec2eacc9 /databases
parent06419a502cd5209ade39c7fbf7a415bb76d9c157 (diff)
downloadFreeBSD-ports-05f9ebdd2efc36d44f566de210aa97855ca6d860.zip
FreeBSD-ports-05f9ebdd2efc36d44f566de210aa97855ca6d860.tar.gz
Updated to 0.43
Diffstat (limited to 'databases')
-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 0ad2f40..a7e013a 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 272fd2b..0a04959 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 0000000..bcbe93e
--- /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);
+ }
OpenPOWER on IntegriCloud