From 8fe066cca1e2f22c26eecedfea8fc0533001a681 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Wed, 21 Nov 2018 18:41:23 -0800 Subject: postgresql: update to 9.4.20 Bug fix only updates. see: https://www.postgresql.org/docs/9.4/release-9-4-20.html Patches refreshed Signed-off-by: Armin Kuster --- .../files/0001-Use-pkg-config-for-libxml2-detection.patch | 8 ++++---- .../recipes-dbs/postgresql/files/not-check-libperl.patch | 10 +++++----- meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb | 14 -------------- meta-oe/recipes-dbs/postgresql/postgresql_9.4.20.bb | 14 ++++++++++++++ 4 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb create mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_9.4.20.bb diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Use-pkg-config-for-libxml2-detection.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Use-pkg-config-for-libxml2-detection.patch index ce2a60cabf..fafbc25a42 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-Use-pkg-config-for-libxml2-detection.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-Use-pkg-config-for-libxml2-detection.patch @@ -12,11 +12,11 @@ Signed-off-by: Philip Balister configure.in | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) -Index: postgresql-9.4.15/configure.in +Index: postgresql-9.4.20/configure.in =================================================================== ---- postgresql-9.4.15.orig/configure.in -+++ postgresql-9.4.15/configure.in -@@ -759,19 +759,8 @@ PGAC_ARG_BOOL(with, libxml, no, [build w +--- postgresql-9.4.20.orig/configure.in ++++ postgresql-9.4.20/configure.in +@@ -789,19 +789,8 @@ PGAC_ARG_BOOL(with, libxml, no, [build w [AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])]) if test "$with_libxml" = yes ; then diff --git a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch index 971510943d..c57b421356 100644 --- a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +++ b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch @@ -13,16 +13,16 @@ Signed-off-by: Roy Li configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: postgresql-9.4.15/configure.in +Index: postgresql-9.4.20/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 +--- postgresql-9.4.20.orig/configure.in ++++ postgresql-9.4.20/configure.in +@@ -1931,7 +1931,7 @@ if test "$with_tcl" = yes; then fi # check for -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 is required for Perl])], diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb deleted file mode 100644 index 061184a6fa..0000000000 --- a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb +++ /dev/null @@ -1,14 +0,0 @@ -require postgresql.inc - -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38" - -SRC_URI += "\ - file://not-check-libperl.patch \ -" - -do_compile_prepend_libc-musl() { - sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global -} - -SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3" -SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6" diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.20.bb b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.20.bb new file mode 100644 index 0000000000..61f623e3d4 --- /dev/null +++ b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.20.bb @@ -0,0 +1,14 @@ +require postgresql.inc + +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38" + +SRC_URI += "\ + file://not-check-libperl.patch \ +" + +do_compile_prepend_libc-musl() { + sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global +} + +SRC_URI[md5sum] = "5821867741c821736266f27b6b8a859a" +SRC_URI[sha256sum] = "eeb1d8ddb2854c9e4d8b5cbd65665260c0ae8cbcb911003f24c2d82ccb97f87f" -- cgit 1.2.3-korg