From 844bc3732a073fcc772899deb1b1e0aa6b729796 Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Thu, 6 Jan 2022 11:23:12 +0100 Subject: [PATCH] Update to version 14 Add new symbols into symbol-versioning patch --- libpq-12.1-symbol-versioning.patch | 18 +++++++++++------- libpq.spec | 10 +++++++--- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/libpq-12.1-symbol-versioning.patch b/libpq-12.1-symbol-versioning.patch index 9bbb15b..48a2482 100644 --- a/libpq-12.1-symbol-versioning.patch +++ b/libpq-12.1-symbol-versioning.patch @@ -15,7 +15,7 @@ index 67e7998..86612a4 100644 $(INSTALL_SCRIPT) $(srcdir)/install-sh '$(DESTDIR)$(pgxsdir)/config/install-sh' $(INSTALL_SCRIPT) $(srcdir)/missing '$(DESTDIR)$(pgxsdir)/config/missing' + $(INSTALL_SCRIPT) $(srcdir)/build-exports-gnu-ld '$(DESTDIR)$(pgxsdir)/config/build-exports-gnu-ld' - + installdirs: $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/config' diff --git a/config/build-exports-gnu-ld b/config/build-exports-gnu-ld @@ -78,17 +78,16 @@ index 373d73caef..d5bd5468cd 100644 exports_file = $(SHLIB_EXPORTS:%.txt=%.list) ifneq (,$(exports_file)) LINK.shared += -Wl,--version-script=$(exports_file) -diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt -index bbc1f90..fc3ef8a 100644 ---- a/src/interfaces/libpq/exports.txt -+++ b/src/interfaces/libpq/exports.txt -@@ -171,11 +171,11 @@ PQsslAttributeNames 168 +diff -ur postgresql-14.1/src/interfaces/libpq/exports.txt patched/src/interfaces/libpq/exports.txt +--- postgresql-14.1/src/interfaces/libpq/exports.txt 2021-11-08 22:58:24.000000000 +0100 ++++ patched/src/interfaces/libpq/exports.txt 2022-01-12 12:00:28.000000000 +0100 +@@ -171,15 +171,15 @@ PQsslAttribute 169 PQsetErrorContextVisibility 170 PQresultVerboseErrorMessage 171 -PQencryptPasswordConn 172 -+PQencryptPasswordConn 172 10 -PQresultMemorySize 173 ++PQencryptPasswordConn 172 10 +PQresultMemorySize 173 12 PQhostaddr 174 PQgssEncInUse 175 @@ -97,3 +96,8 @@ index bbc1f90..fc3ef8a 100644 +PQsetSSLKeyPassHook_OpenSSL 177 13 PQgetSSLKeyPassHook_OpenSSL 178 PQdefaultSSLKeyPassHook_OpenSSL 179 +-PQenterPipelineMode 180 ++PQenterPipelineMode 180 14 + PQexitPipelineMode 181 + PQpipelineSync 182 + PQpipelineStatus 183 diff --git a/libpq.spec b/libpq.spec index 2711da2..f76fe17 100644 --- a/libpq.spec +++ b/libpq.spec @@ -1,10 +1,10 @@ -%global majorversion 13 +%global majorversion 14 %global obsoletes_version %( echo $(( %majorversion + 1 )) ) Summary: PostgreSQL client library Name: libpq -Version: %{majorversion}.4 -Release: 2%{?dist} +Version: %{majorversion}.1 +Release: 1%{?dist} License: PostgreSQL Url: http://www.postgresql.org/ @@ -131,6 +131,10 @@ find_lang_bins %name-devel.lst pg_config %changelog +* Mon Jan 03 2022 Filip Januš - 14.1-1 +- Update to v14 +- Resolves: https://fedoraproject.org/wiki/Changes/PostgreSQL_14 + * Tue Sep 14 2021 Sahana Prasad - 13.4-2 - Rebuilt with OpenSSL 3.0.0