[arch-commits] Commit in postgresql/trunk (PKGBUILD postgresql-perl-5.36.patch)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun May 29 11:03:23 UTC 2022
Date: Sunday, May 29, 2022 @ 11:03:22
Author: foutrelis
Revision: 446803
upgpkg: postgresql 14.3-2: Perl 5.36 rebuild
Added:
postgresql/trunk/postgresql-perl-5.36.patch
Modified:
postgresql/trunk/PKGBUILD
----------------------------+
PKGBUILD | 7 ++++++-
postgresql-perl-5.36.patch | 24 ++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-29 11:01:39 UTC (rev 446802)
+++ PKGBUILD 2022-05-29 11:03:22 UTC (rev 446803)
@@ -5,7 +5,7 @@
pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
pkgver=14.3
_majorver=${pkgver%.*}
-pkgrel=1
+pkgrel=2
pkgdesc='Sophisticated object-relational DBMS'
url='https://www.postgresql.org/'
arch=('x86_64')
@@ -17,6 +17,7 @@
source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2
postgresql-run-socket.patch
postgresql-perl-rpath.patch
+ postgresql-perl-5.36.patch
postgresql.pam
postgresql.logrotate
postgresql.service
@@ -26,6 +27,7 @@
md5sums=('c83c28c774dd55b078f7dae0e30163be'
'bdafe5b6cd3ac2675cda972f322b6188'
'4572e8317064bd47429938c4c5681470'
+ '558a287c0a3ba9fbddb40d29941e3a10'
'96f82c38f3f540b53f3e5144900acf17'
'd28e443f9f65a5712c52018b84e27137'
'0418d1b78f15b969c1575657d47ab130'
@@ -35,6 +37,7 @@
sha256sums=('279057368bf59a919c05ada8f95c5e04abb43e74b9a2a69c3d46a20e07a9af38'
'55d4c36b41b3925e2d74d4695c261aa267f06d70b9d768864f54262ec332eda4'
'dc17da62ce200ea2dacd5eb27adc33b0e296eb5bb10fada54fe4539d214c81c8'
+ 'dab4ebcd55738b2ea7c87b123f7f52d7ac834c21984715a162a32df8d8957af8'
'57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5'
'6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e'
'25fb140b90345828dc01a4f286345757e700a47178bab03d217a7a5a79105b57'
@@ -44,6 +47,7 @@
b2sums=('8c9124cb758618d770a1084553f9e8f9a3fcb4e17e1aa4a1649e04f4c057f33ce1e5890bba3288bed2257236a4569735a77b3e5ddf989c2a2a4ef60ed494b3cc'
'f91b7bbd23569af7c24189f01d93cf71752c5559fd0dc93027b0944e3986dfddee929027884a77393d104b8ebf848650ed907e327828346e67a16f0aa0629fc1'
'cb10afa597fd7e99f3f69322657c2137ffcc311f11acc97782d48f928361c5b7063cec4ceb08a63c6d97d6a96793f209bbc5026369999fbe0097c0db137c25e1'
+ '6608a207e0378065eb09e2f3515d4934dda3b75d8d15a52994f06c5688da1ed90a75b3c974c13ef18a5ee847e35fa7e7c5b39c9ba43430ca918d5cf25b4dfc43'
'3eab84d332d96678fe6e435ee243c8f1a82b838f601d61d3604d11e918aed7a62202edca5e476c4b9031ed284570e6fcd6c659cfdbd9624aa0019d3233755f81'
'2209b7550acad7955102ec6922754b4046b2a2ad2a7e1cfb2cc4053c0705abac7aa7d7968eab617f50894797d06345f51c9a669926bd2a77dcf688206a2027e0'
'a4255df47b7ac1418d20aa73aa0f6e70c7952a10d706e5523043c48b2c3b6d8e39838049dfcc826913cd0f2c06502561d1abe8b19cce7071db66139ae93a37bf'
@@ -57,6 +61,7 @@
cd postgresql-${pkgver}
patch -p1 < ../postgresql-run-socket.patch
patch -p1 < ../postgresql-perl-rpath.patch
+ patch -p1 < ../postgresql-perl-5.36.patch
}
build() {
Added: postgresql-perl-5.36.patch
===================================================================
--- postgresql-perl-5.36.patch (rev 0)
+++ postgresql-perl-5.36.patch 2022-05-29 11:03:22 UTC (rev 446803)
@@ -0,0 +1,24 @@
+diff -upr postgresql-14.3.orig/src/pl/plperl/expected/plperl.out postgresql-14.3/src/pl/plperl/expected/plperl.out
+--- postgresql-14.3.orig/src/pl/plperl/expected/plperl.out 2022-05-10 00:14:45.000000000 +0300
++++ postgresql-14.3/src/pl/plperl/expected/plperl.out 2022-05-29 13:51:38.332998929 +0300
+@@ -725,7 +725,7 @@ ERROR: Can't use string ("foo") as a SC
+ CONTEXT: PL/Perl anonymous code block
+ -- check that we can "use warnings" (in this case to turn a warn into an error)
+ -- yields "ERROR: Useless use of sort in scalar context."
+-DO $do$ use warnings FATAL => qw(void) ; my @y; my $x = sort @y; 1; $do$ LANGUAGE plperl;
++DO $do$ use warnings FATAL => qw(scalar void) ; my @y; my $x = sort @y; 1; $do$ LANGUAGE plperl;
+ ERROR: Useless use of sort in scalar context at line 1.
+ CONTEXT: PL/Perl anonymous code block
+ -- make sure functions marked as VOID without an explicit return work
+diff -upr postgresql-14.3.orig/src/pl/plperl/sql/plperl.sql postgresql-14.3/src/pl/plperl/sql/plperl.sql
+--- postgresql-14.3.orig/src/pl/plperl/sql/plperl.sql 2022-05-10 00:14:45.000000000 +0300
++++ postgresql-14.3/src/pl/plperl/sql/plperl.sql 2022-05-29 13:49:36.280946055 +0300
+@@ -470,7 +470,7 @@ DO $do$ use strict; my $name = "foo"; my
+
+ -- check that we can "use warnings" (in this case to turn a warn into an error)
+ -- yields "ERROR: Useless use of sort in scalar context."
+-DO $do$ use warnings FATAL => qw(void) ; my @y; my $x = sort @y; 1; $do$ LANGUAGE plperl;
++DO $do$ use warnings FATAL => qw(scalar void) ; my @y; my $x = sort @y; 1; $do$ LANGUAGE plperl;
+
+ -- make sure functions marked as VOID without an explicit return work
+ CREATE OR REPLACE FUNCTION myfuncs() RETURNS void AS $$
More information about the arch-commits
mailing list