summaryrefslogtreecommitdiff
path: root/databases/pear-MDB2_Driver_pgsql/patches
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-10-19 18:36:19 +0000
committeradrianp <adrianp@pkgsrc.org>2008-10-19 18:36:19 +0000
commitabd2c076677e9c2916a416eea262dc472ce809da (patch)
tree4f93bd9e7f67bcb486c4889507bd55b34cb48acf /databases/pear-MDB2_Driver_pgsql/patches
parente25173c4a8b8000a0825abbe5c2a0031583e0878 (diff)
downloadpkgsrc-abd2c076677e9c2916a416eea262dc472ce809da.tar.gz
Fix an error that could occurr on some installs.
Previously fixed in mysql and pgsql packages - spotted by wiz@
Diffstat (limited to 'databases/pear-MDB2_Driver_pgsql/patches')
-rw-r--r--databases/pear-MDB2_Driver_pgsql/patches/patch-ab11
1 files changed, 9 insertions, 2 deletions
diff --git a/databases/pear-MDB2_Driver_pgsql/patches/patch-ab b/databases/pear-MDB2_Driver_pgsql/patches/patch-ab
index 9c155b94221..f5417f1af88 100644
--- a/databases/pear-MDB2_Driver_pgsql/patches/patch-ab
+++ b/databases/pear-MDB2_Driver_pgsql/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1 2008/07/13 17:55:38 tonnerre Exp $
+$NetBSD: patch-ab,v 1.2 2008/10/19 18:36:19 adrianp Exp $
---- MDB2/Driver/pgsql.php.orig 2007-05-03 21:07:38.000000000 +0200
+--- MDB2/Driver/pgsql.php.orig 2007-05-03 19:07:38.000000000 +0000
+++ MDB2/Driver/pgsql.php
@@ -1351,7 +1351,7 @@ class MDB2_Statement_pgsql extends MDB2_
}
@@ -11,3 +11,10 @@ $NetBSD: patch-ab,v 1.1 2008/07/13 17:55:38 tonnerre Exp $
if (!is_resource($value) && preg_match('/^(\w+:\/\/)(.*)$/', $value, $match)) {
if ($match[1] == 'file://') {
$value = $match[2];
+@@ -1432,4 +1432,4 @@ class MDB2_Statement_pgsql extends MDB2_
+ return $result;
+ }
+ }
+-?>
+\ No newline at end of file
++?>