diff options
Diffstat (limited to 'user/perl-dbd-pg')
-rw-r--r-- | user/perl-dbd-pg/APKBUILD | 5 | ||||
-rw-r--r-- | user/perl-dbd-pg/ppc32.patch | 26 |
2 files changed, 30 insertions, 1 deletions
diff --git a/user/perl-dbd-pg/APKBUILD b/user/perl-dbd-pg/APKBUILD index d6c8f8f37..27099028d 100644 --- a/user/perl-dbd-pg/APKBUILD +++ b/user/perl-dbd-pg/APKBUILD @@ -6,6 +6,7 @@ pkgrel=0 pkgdesc="PostgreSQL interface for Perl DBI" url="https://metacpan.org/release/DBD-Pg" arch="all" +options="!check" # https://github.com/bucardo/dbdpg/issues/56 license="Artistic-1.0-Perl OR GPL-2.0-only" depends="perl-dbi" makedepends="perl-dev postgresql-dev" @@ -13,6 +14,7 @@ checkdepends="cmd:locale postgresql" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-$pkgver.tar.gz fix-tests.patch + ppc32.patch " builddir="$srcdir/DBD-Pg-$pkgver" @@ -31,4 +33,5 @@ package() { } sha512sums="ef322012d25c46784ef9e25eb332f2fe57c6bc2102a7e7cf2f423ae6d77ec78d338e91f08734a932f46a0bc028e358a6cf84b6b41b5f9723905b240db24582f0 DBD-Pg-3.9.1.tar.gz -f7032e7e63eb403778e3f42e1b7f7d472695175d3d8c30bc10062ffee6275b8f46635ea2a82ca2cc5c9de48f7bfa64cdfce56ce58846302bb32db0e4657dcee7 fix-tests.patch" +f7032e7e63eb403778e3f42e1b7f7d472695175d3d8c30bc10062ffee6275b8f46635ea2a82ca2cc5c9de48f7bfa64cdfce56ce58846302bb32db0e4657dcee7 fix-tests.patch +3ff842f949e4c1805eb3c86ea8f52b12adbe65b966137c33e6b29eb1565f9983808fffacac8bda160be3bdfce0dd1cdbc79903bad0443335b48bf456dd7adb6c ppc32.patch" 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 = |