summaryrefslogtreecommitdiff
path: root/user/perl-dbd-pg/ppc32.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-18 15:31:40 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-18 15:31:40 +0000
commit98b1f96fc47602a0763d1f8b7be35fe09cfed2ca (patch)
treeec9dc0f391c242330cfa03e6f55f6a9560b39ef4 /user/perl-dbd-pg/ppc32.patch
parent05a89bf6e24cf49fcfc29adaa5565796c1c0cd83 (diff)
downloadpackages-98b1f96fc47602a0763d1f8b7be35fe09cfed2ca.tar.gz
packages-98b1f96fc47602a0763d1f8b7be35fe09cfed2ca.tar.bz2
packages-98b1f96fc47602a0763d1f8b7be35fe09cfed2ca.tar.xz
packages-98b1f96fc47602a0763d1f8b7be35fe09cfed2ca.zip
user/perl-dbd-pg: disable tests due to upstream bug
Diffstat (limited to 'user/perl-dbd-pg/ppc32.patch')
-rw-r--r--user/perl-dbd-pg/ppc32.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/perl-dbd-pg/ppc32.patch b/user/perl-dbd-pg/ppc32.patch
new file mode 100644
index 000000000..404796d4d
--- /dev/null
+++ b/user/perl-dbd-pg/ppc32.patch
@@ -0,0 +1,26 @@
+---
+ Pg.pm | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Pg.pm b/Pg.pm
+index 8ca8435c..099678e1 100644
+--- a/Pg.pm
++++ b/Pg.pm
+@@ -29,14 +29,14 @@ use 5.008001;
+ PG_MAX_SMALLINT => 32767,
+ PG_MIN_INTEGER => -2147483648,
+ PG_MAX_INTEGER => 2147483647,
+- PG_MIN_BIGINT => "-9223372036854775808",
+- PG_MAX_BIGINT => "9223372036854775807",
++ PG_MIN_BIGINT => do { use bigint; -9223372036854775808 },
++ PG_MAX_BIGINT => do { use bigint; 9223372036854775807 },
+ PG_MIN_SMALLSERIAL => 1,
+ PG_MAX_SMALLSERIAL => 32767,
+ PG_MIN_SERIAL => 1,
+ PG_MAX_SERIAL => 2147483647,
+ PG_MIN_BIGSERIAL => 1,
+- PG_MAX_BIGSERIAL => "9223372036854775807",
++ PG_MAX_BIGSERIAL => do { use bigint; 9223372036854775807 },
+ };
+
+ %EXPORT_TAGS =