diff options
author | zhengruoqin <zhengrq.fnst@cn.fujitsu.com> | 2021-02-22 15:45:05 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-02-22 09:14:39 -0800 |
commit | cb3f4cffe9128395baf30660445b02940a03a1c7 (patch) | |
tree | cd71b85a1b69ef3bf74fd9d554cfb4b3ec423326 /meta-oe/recipes-dbs | |
parent | fe6187fed9f147db9de0ca6b0b4fdb2e2a02102b (diff) | |
download | meta-openembedded-cb3f4cffe9128395baf30660445b02940a03a1c7.tar.gz |
postgresql: upgrade 13.1 -> 13.2
-License-Update: Copyright year updated to 2021.
Upgrade patches to fix
ERROR: postgresql-13.2-r0 do_patch: Fuzz detected:
Applying patch 0001-configure.in-bypass-autoconf-2.69-version-check.patch
patching file configure.in
Hunk #1 succeeded at 19 with fuzz 2.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch | 5 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch | 7 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/0001-configure.in-bypass-autoconf-2.69-version-check.patch | 9 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch | 7 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql_13.2.bb (renamed from meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb) | 4 |
5 files changed, 6 insertions, 26 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch index 865ad3287..0dc6ece6d 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch | |||
@@ -9,8 +9,6 @@ extending the existing aarch64 macro works. | |||
9 | src/include/storage/s_lock.h | 5 +++-- | 9 | src/include/storage/s_lock.h | 5 +++-- |
10 | 1 file changed, 3 insertions(+), 2 deletions(-) | 10 | 1 file changed, 3 insertions(+), 2 deletions(-) |
11 | 11 | ||
12 | diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h | ||
13 | index 3fe29ce..7cd578f 100644 | ||
14 | --- a/src/include/storage/s_lock.h | 12 | --- a/src/include/storage/s_lock.h |
15 | +++ b/src/include/storage/s_lock.h | 13 | +++ b/src/include/storage/s_lock.h |
16 | @@ -316,11 +316,12 @@ tas(volatile slock_t *lock) | 14 | @@ -316,11 +316,12 @@ tas(volatile slock_t *lock) |
@@ -36,6 +34,3 @@ index 3fe29ce..7cd578f 100644 | |||
36 | 34 | ||
37 | 35 | ||
38 | /* S/390 and S/390x Linux (32- and 64-bit zSeries) */ | 36 | /* S/390 and S/390x Linux (32- and 64-bit zSeries) */ |
39 | -- | ||
40 | 2.9.3 | ||
41 | |||
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 60b7910c5..e9bc6240d 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch | |||
@@ -22,11 +22,9 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
22 | src/common/Makefile | 3 --- | 22 | src/common/Makefile | 3 --- |
23 | 1 file changed, 3 deletions(-) | 23 | 1 file changed, 3 deletions(-) |
24 | 24 | ||
25 | diff --git a/src/common/Makefile b/src/common/Makefile | ||
26 | index 16619e4..665eaa1 100644 | ||
27 | --- a/src/common/Makefile | 25 | --- a/src/common/Makefile |
28 | +++ b/src/common/Makefile | 26 | +++ b/src/common/Makefile |
29 | @@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global | 27 | @@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.glo |
30 | # don't include subdirectory-path-dependent -I and -L switches | 28 | # don't include subdirectory-path-dependent -I and -L switches |
31 | STD_CPPFLAGS := $(filter-out -I$(top_srcdir)/src/include -I$(top_builddir)/src/include,$(CPPFLAGS)) | 29 | STD_CPPFLAGS := $(filter-out -I$(top_srcdir)/src/include -I$(top_builddir)/src/include,$(CPPFLAGS)) |
32 | STD_LDFLAGS := $(filter-out -L$(top_builddir)/src/common -L$(top_builddir)/src/port,$(LDFLAGS)) | 30 | STD_LDFLAGS := $(filter-out -L$(top_builddir)/src/common -L$(top_builddir)/src/port,$(LDFLAGS)) |
@@ -36,6 +34,3 @@ index 16619e4..665eaa1 100644 | |||
36 | override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\"" | 34 | override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\"" |
37 | override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\"" | 35 | override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\"" |
38 | override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\"" | 36 | override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\"" |
39 | -- | ||
40 | 2.17.1 | ||
41 | |||
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-configure.in-bypass-autoconf-2.69-version-check.patch b/meta-oe/recipes-dbs/postgresql/files/0001-configure.in-bypass-autoconf-2.69-version-check.patch index c54a886a2..970d750b1 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-configure.in-bypass-autoconf-2.69-version-check.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-configure.in-bypass-autoconf-2.69-version-check.patch | |||
@@ -12,13 +12,11 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | |||
12 | configure.in | 4 ---- | 12 | configure.in | 4 ---- |
13 | 1 file changed, 4 deletions(-) | 13 | 1 file changed, 4 deletions(-) |
14 | 14 | ||
15 | diff --git a/configure.in b/configure.in | ||
16 | index 8d4e9ac..75203c2 100644 | ||
17 | --- a/configure.in | 15 | --- a/configure.in |
18 | +++ b/configure.in | 16 | +++ b/configure.in |
19 | @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros | 17 | @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch un |
20 | 18 | ||
21 | AC_INIT([PostgreSQL], [13.1], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) | 19 | AC_INIT([PostgreSQL], [13.2], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) |
22 | 20 | ||
23 | -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. | 21 | -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. |
24 | -Untested combinations of 'autoconf' and PostgreSQL versions are not | 22 | -Untested combinations of 'autoconf' and PostgreSQL versions are not |
@@ -27,6 +25,3 @@ index 8d4e9ac..75203c2 100644 | |||
27 | AC_COPYRIGHT([Copyright (c) 1996-2020, PostgreSQL Global Development Group]) | 25 | AC_COPYRIGHT([Copyright (c) 1996-2020, PostgreSQL Global Development Group]) |
28 | AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) | 26 | AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) |
29 | AC_CONFIG_AUX_DIR(config) | 27 | AC_CONFIG_AUX_DIR(config) |
30 | -- | ||
31 | 2.29.2 | ||
32 | |||
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 22b62d9de..ba2ee29f0 100644 --- a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +++ b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch | |||
@@ -19,11 +19,9 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
19 | configure.in | 2 +- | 19 | configure.in | 2 +- |
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 21 | ||
22 | diff --git a/configure.in b/configure.in | ||
23 | index b98b9bb..8584677 100644 | ||
24 | --- a/configure.in | 22 | --- a/configure.in |
25 | +++ b/configure.in | 23 | +++ b/configure.in |
26 | @@ -2211,7 +2211,7 @@ Use --without-tcl to disable building PL/Tcl.]) | 24 | @@ -2206,7 +2206,7 @@ Use --without-tcl to disable building PL |
27 | fi | 25 | fi |
28 | 26 | ||
29 | # check for <perl.h> | 27 | # check for <perl.h> |
@@ -32,6 +30,3 @@ index b98b9bb..8584677 100644 | |||
32 | ac_save_CPPFLAGS=$CPPFLAGS | 30 | ac_save_CPPFLAGS=$CPPFLAGS |
33 | CPPFLAGS="$CPPFLAGS $perl_includespec" | 31 | CPPFLAGS="$CPPFLAGS $perl_includespec" |
34 | AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], | 32 | AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], |
35 | -- | ||
36 | 2.7.4 | ||
37 | |||
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb b/meta-oe/recipes-dbs/postgresql/postgresql_13.2.bb index f2a29a59d..ca8a6c7ce 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql_13.1.bb +++ b/meta-oe/recipes-dbs/postgresql/postgresql_13.2.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require postgresql.inc | 1 | require postgresql.inc |
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fc4ce21960f0c561460d750bc270d11f" | 3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=255f15687738db8068fbe9b938c90217" |
4 | 4 | ||
5 | SRC_URI += "\ | 5 | SRC_URI += "\ |
6 | file://not-check-libperl.patch \ | 6 | file://not-check-libperl.patch \ |
@@ -9,4 +9,4 @@ SRC_URI += "\ | |||
9 | file://0001-configure.in-bypass-autoconf-2.69-version-check.patch \ | 9 | file://0001-configure.in-bypass-autoconf-2.69-version-check.patch \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "12345c83b89aa29808568977f5200d6da00f88a035517f925293355432ffe61f" | 12 | SRC_URI[sha256sum] = "5fd7fcd08db86f5b2aed28fcfaf9ae0aca8e9428561ac547764c2a2b0f41adfc" |