From 615a9d633469d03af1241e2836082ff43128461e Mon Sep 17 00:00:00 2001 From: "changqing.li@windriver.com" Date: Wed, 30 Dec 2020 09:41:53 +0800 Subject: postgresql: upgrade 12.4 -> 13.1 Signed-off-by: Changqing Li Signed-off-by: Khem Raj --- .../files/0001-Improve-reproducibility.patch | 20 +++++++++++--------- meta-oe/recipes-dbs/postgresql/postgresql_12.4.bb | 11 ----------- meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb | 11 +++++++++++ 3 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_12.4.bb create mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb (limited to 'meta-oe/recipes-dbs') diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch index 32b7f4284..60b7910c5 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch @@ -1,6 +1,6 @@ -From 3c13315447fa175da6c9ebe59a039e611cdb5bd1 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Tue, 4 Jun 2019 13:45:30 +0800 +From 71fbee3888ee889a269eded5585ed7591bcbe9dd Mon Sep 17 00:00:00 2001 +From: Changqing Li +Date: Mon, 28 Dec 2020 16:38:21 +0800 Subject: [PATCH] Improve reproducibility, Remove build patch from binaries which pg_config do @@ -15,19 +15,21 @@ not recorded Upstream-Status: Inappropriate [oe specific] Signed-off-by: Hongxu Jia + +update patch for v13.1 +Signed-off-by: Changqing Li --- - src/common/Makefile | 4 ---- - 1 file changed, 4 deletions(-) + src/common/Makefile | 3 --- + 1 file changed, 3 deletions(-) diff --git a/src/common/Makefile b/src/common/Makefile -index 1fc2c66..5e6c457 100644 +index 16619e4..665eaa1 100644 --- a/src/common/Makefile +++ b/src/common/Makefile -@@ -27,10 +27,6 @@ include $(top_builddir)/src/Makefile.global +@@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global # don't include subdirectory-path-dependent -I and -L switches STD_CPPFLAGS := $(filter-out -I$(top_srcdir)/src/include -I$(top_builddir)/src/include,$(CPPFLAGS)) STD_LDFLAGS := $(filter-out -L$(top_builddir)/src/common -L$(top_builddir)/src/port,$(LDFLAGS)) --override CPPFLAGS += -DVAL_CONFIGURE="\"$(configure_args)\"" -override CPPFLAGS += -DVAL_CC="\"$(CC)\"" -override CPPFLAGS += -DVAL_CPPFLAGS="\"$(STD_CPPFLAGS)\"" -override CPPFLAGS += -DVAL_CFLAGS="\"$(CFLAGS)\"" @@ -35,5 +37,5 @@ index 1fc2c66..5e6c457 100644 override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\"" override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\"" -- -2.7.4 +2.17.1 diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_12.4.bb b/meta-oe/recipes-dbs/postgresql/postgresql_12.4.bb deleted file mode 100644 index 6ea9acc00..000000000 --- a/meta-oe/recipes-dbs/postgresql/postgresql_12.4.bb +++ /dev/null @@ -1,11 +0,0 @@ -require postgresql.inc - -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fc4ce21960f0c561460d750bc270d11f" - -SRC_URI += "\ - file://not-check-libperl.patch \ - file://0001-Add-support-for-RISC-V.patch \ - file://0001-Improve-reproducibility.patch \ -" - -SRC_URI[sha256sum] = "bee93fbe2c32f59419cb162bcc0145c58da9a8644ee154a30b9a5ce47de606cc" diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb b/meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb new file mode 100644 index 000000000..aeeddc647 --- /dev/null +++ b/meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb @@ -0,0 +1,11 @@ +require postgresql.inc + +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fc4ce21960f0c561460d750bc270d11f" + +SRC_URI += "\ + file://not-check-libperl.patch \ + file://0001-Add-support-for-RISC-V.patch \ + file://0001-Improve-reproducibility.patch \ +" + +SRC_URI[sha256sum] = "12345c83b89aa29808568977f5200d6da00f88a035517f925293355432ffe61f" -- cgit v1.2.3-54-g00ecf