postgresql: upgrade to 11.1

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Changqing Li 2018-11-27 17:39:13 +08:00 committed by Khem Raj
parent a1ee96c1dc
commit 6f1d9e2a7f
5 changed files with 27 additions and 7636 deletions

View File

@ -1,4 +1,7 @@
[PATCH] not check libperl under cross compiling
From 7e2af4de19be58bc9d551c41ce2750396d357f34 Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Tue, 27 Nov 2018 13:25:15 +0800
Subject: [PATCH] PATCH] not check libperl under cross compiling
Upstream-Status: Inappropriate [configuration]
@ -6,23 +9,29 @@ libperl ldflags returned by PGAC_CHECK_PERL_EMBED_LDFLAGS are native,
can not be used to check target library.
postpresql has the dependency on perl, so not need to check libperl
again, like in postgresql-9.2.4
again, like in postgresql-9.2.4
Signed-off-by: Roy Li <rongqing.li@windriver.com>
update patch to version 11.1
Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: postgresql-9.4.15/configure.in
===================================================================
--- postgresql-9.4.15.orig/configure.in
+++ postgresql-9.4.15/configure.in
@@ -1879,7 +1879,7 @@ if test "$with_tcl" = yes; then
diff --git a/configure.in b/configure.in
index b98b9bb..8584677 100644
--- a/configure.in
+++ b/configure.in
@@ -2211,7 +2211,7 @@ Use --without-tcl to disable building PL/Tcl.])
fi
# check for <perl.h>
-if test "$with_perl" = yes; then
+if test "$with_perl" = yes && test "$cross_compiling" = no; then
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE"
CPPFLAGS="$CPPFLAGS $perl_includespec"
AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
--
2.7.4

View File

@ -1,12 +0,0 @@
require postgresql.inc
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38"
SRC_URI += "\
file://not-check-libperl.patch \
file://0001-Update-time-zone-data-files-to-tzdata-release-2018f.patch \
file://0001-Sync-our-copy-of-the-timezone-library-with-IANA-rele.patch \
"
SRC_URI[md5sum] = "a5fe5fdff2d6c28f65601398be0950df"
SRC_URI[sha256sum] = "6c8e616c91a45142b85c0aeb1f29ebba4a361309e86469e0fb4617b6a73c4011"

View File

@ -0,0 +1,10 @@
require postgresql.inc
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38"
SRC_URI += "\
file://not-check-libperl.patch \
"
SRC_URI[md5sum] = "5e45f6d5b859cc76b5d62f1e328e9711"
SRC_URI[sha256sum] = "90815e812874831e9a4bf6e1136bf73bc2c5a0464ef142e2dfea40cda206db08"