Skip to content

Commit

Permalink
postgresql: refresh patches
Browse files Browse the repository at this point in the history
fixes:

WARNING: postgresql-12.16-r0 do_patch: Fuzz detected:

Applying patch 0001-Add-support-for-RISC-V.patch
patching file src/include/storage/s_lock.h
Hunk #2 succeeded at 339 with fuzz 1.

Signed-off-by: Armin Kuster <[email protected]>
  • Loading branch information
akuster committed Sep 9, 2023
1 parent ffa6aff commit e42d1e7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ extending the existing aarch64 macro works.
src/include/storage/s_lock.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 3fe29ce..7cd578f 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
Index: postgresql-12.16/src/include/storage/s_lock.h
===================================================================
--- postgresql-12.16.orig/src/include/storage/s_lock.h
+++ postgresql-12.16/src/include/storage/s_lock.h
@@ -317,11 +317,12 @@ tas(volatile slock_t *lock)

/*
Expand All @@ -35,7 +35,4 @@ index 3fe29ce..7cd578f 100644
+#endif /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */


/*
--
2.9.3

/* S/390 and S/390x Linux (32- and 64-bit zSeries) */
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Signed-off-by: Hongxu Jia <[email protected]>
src/common/Makefile | 4 ----
1 file changed, 4 deletions(-)

diff --git a/src/common/Makefile b/src/common/Makefile
index 1fc2c66..5e6c457 100644
--- a/src/common/Makefile
+++ b/src/common/Makefile
@@ -27,10 +27,6 @@ include $(top_builddir)/src/Makefile.global
Index: postgresql-12.16/src/common/Makefile
===================================================================
--- postgresql-12.16.orig/src/common/Makefile
+++ postgresql-12.16/src/common/Makefile
@@ -31,10 +31,6 @@ include $(top_builddir)/src/Makefile.glo
# 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))
Expand All @@ -34,6 +34,3 @@ index 1fc2c66..5e6c457 100644
override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\""
override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\""
override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""
--
2.7.4

13 changes: 5 additions & 8 deletions meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Signed-off-by: Changqing Li <[email protected]>
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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.])
Index: postgresql-12.16/configure.in
===================================================================
--- postgresql-12.16.orig/configure.in
+++ postgresql-12.16/configure.in
@@ -2357,7 +2357,7 @@ Use --without-tcl to disable building PL
fi

# check for <perl.h>
Expand All @@ -32,6 +32,3 @@ index b98b9bb..8584677 100644
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $perl_includespec"
AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
--
2.7.4

0 comments on commit e42d1e7

Please sign in to comment.