[oe] [meta-oe][PATCH] postgresql: upgrade 11.5 -> 12.0

Zheng Ruoqin zhengrq.fnst at cn.fujitsu.com
Thu Nov 7 12:05:55 UTC 2019


Update 0001-Use-pkg-config-for-libxml2-detection.patch for new version.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
---
 .../files/0001-Use-pkg-config-for-libxml2-detection.patch  | 14 +++++++++-----
 .../postgresql/{postgresql_11.5.bb => postgresql_12.0.bb}  |  4 ++--
 2 files changed, 11 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-dbs/postgresql/{postgresql_11.5.bb => postgresql_12.0.bb} (63%)

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 f14da06..84cd5c1 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
@@ -9,21 +9,25 @@ xml2-config does not work. Use pkgconfig to set CPPFLAGS and LIBS.
 
 Signed-off-by: Philip Balister <philip at balister.org>
 
-upate to version 10.4
+update to version 10.4
 Signed-off-by: Changqing Li <changqing.li at windriver.com>
+
+Update for version 12.0
+Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
 ---
- configure.in | 15 ++-------------
- 1 file changed, 2 insertions(+), 13 deletions(-)
+ configure.in | 16 ++--------------
+ 1 file changed, 2 insertions(+), 14 deletions(-)
 
 diff --git a/configure.in b/configure.in
-index d9fe56e..3e2cd3a 100644
+index 6942f81..7fd3e78 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -816,19 +816,8 @@ PGAC_ARG_BOOL(with, libxml, no, [build with XML support],
+@@ -923,20 +923,8 @@ PGAC_ARG_BOOL(with, libxml, no, [build with XML support],
                [AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])])
  
  if test "$with_libxml" = yes ; then
 -  PGAC_PATH_PROGS(XML2_CONFIG, xml2-config)
+-  AC_ARG_VAR(XML2_CONFIG, [path to xml2-config utility])dnl
 -  if test -n "$XML2_CONFIG"; then
 -    for pgac_option in `$XML2_CONFIG --cflags`; do
 -      case $pgac_option in
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_11.5.bb b/meta-oe/recipes-dbs/postgresql/postgresql_12.0.bb
similarity index 63%
rename from meta-oe/recipes-dbs/postgresql/postgresql_11.5.bb
rename to meta-oe/recipes-dbs/postgresql/postgresql_12.0.bb
index fd4200a..d5b1ebd 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql_11.5.bb
+++ b/meta-oe/recipes-dbs/postgresql/postgresql_12.0.bb
@@ -8,5 +8,5 @@ SRC_URI += "\
    file://0001-Improve-reproducibility.patch \
 "
 
-SRC_URI[md5sum] = "580da94f6d85046ff2a228785ab2cc89"
-SRC_URI[sha256sum] = "7fdf23060bfc715144cbf2696cf05b0fa284ad3eb21f0c378591c6bca99ad180"
+SRC_URI[md5sum] = "87545416ef021eee8621d31a93fcc899"
+SRC_URI[sha256sum] = "cda2397215f758b793f741c86be05468257b0e6bcb1a6113882ab5d0df0855c6"
-- 
2.7.4





More information about the Openembedded-devel mailing list