summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2004-06-05 17:10:41 +0000
committerMichael Cummings <mcummings@gentoo.org>2004-06-05 17:10:41 +0000
commit8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3 (patch)
treec003d5b132f4efb799616df673d1b1c4b2036c95 /dev-perl/DBD-Pg/files
parentStable on mips (Manifest recommit) (diff)
downloadgentoo-2-8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3.tar.gz
gentoo-2-8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3.tar.bz2
gentoo-2-8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3.zip
new version, please test
Diffstat (limited to 'dev-perl/DBD-Pg/files')
-rw-r--r--dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch20
-rw-r--r--dev-perl/DBD-Pg/files/digest-DBD-Pg-1.321
2 files changed, 21 insertions, 0 deletions
diff --git a/dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch b/dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch
new file mode 100644
index 000000000000..de8d9314748b
--- /dev/null
+++ b/dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch
@@ -0,0 +1,20 @@
+--- t/lib/App/Info/RDBMS/PostgreSQL.pm.orig 2003-12-21 10:48:09.326376964 -0800
++++ t/lib/App/Info/RDBMS/PostgreSQL.pm 2003-12-21 10:52:07.168963354 -0800
+@@ -246,14 +246,12 @@
+
+ # Parse the version number.
+ if ($version) {
+- my ($x, $y, $z) = $version =~ /(\d+)\.(\d+).(\d+)/;
+- if (defined $x and defined $y and defined $z) {
++ my ($x, $y, $z) = split( /\./, $version );
++ if (defined $x and defined $y) {
++ defined( $z ) or $z = 0;
+ @{$self}{qw(version major minor patch)} =
+ ($version, $x, $y, $z);
+ ## Beta/devel/release candidate versions are treated as patch level "0"
+- } elsif ($version =~ /(\d+)\.(\d+)\w+\d+/) {
+- @{$self}{qw(version major minor patch)} =
+- ($version, $1, $2, 0);
+ } else {
+ $self->error("Failed to parse PostgreSQL version parts from " .
+ "string '$version'");
diff --git a/dev-perl/DBD-Pg/files/digest-DBD-Pg-1.32 b/dev-perl/DBD-Pg/files/digest-DBD-Pg-1.32
new file mode 100644
index 000000000000..b3dc24122636
--- /dev/null
+++ b/dev-perl/DBD-Pg/files/digest-DBD-Pg-1.32
@@ -0,0 +1 @@
+MD5 9d6a936e6f755af677ceef59272a50ac DBD-Pg-1.32.tar.gz 96233