!14 update to 15.0
From: @dillon_chen Reviewed-by: @zhengzhenyu Signed-off-by: @zhengzhenyu
This commit is contained in:
commit
e28260a886
@ -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
|
||||
|
||||
15
libpq.spec
15
libpq.spec
@ -1,6 +1,6 @@
|
||||
Name: libpq
|
||||
Version: 13.7
|
||||
Release: 2
|
||||
Version: 15.0
|
||||
Release: 1
|
||||
Summary: PostgreSQL client library
|
||||
License: PostgreSQL
|
||||
Url: http://www.postgresql.org/
|
||||
@ -61,11 +61,11 @@ rm -r $RPM_BUILD_ROOT%_includedir/pgsql/server
|
||||
%multilib_fix_c_header --file "%_includedir/pg_config_ext.h"
|
||||
|
||||
cp /dev/null libpq.lst
|
||||
%find_lang libpq5-13
|
||||
cat libpq5-13.lang >>libpq.lst
|
||||
%find_lang libpq5-15
|
||||
cat libpq5-15.lang >>libpq.lst
|
||||
cp /dev/null libpq-devel.lst
|
||||
%find_lang pg_config-13
|
||||
cat pg_config-13.lang >>libpq-devel.lst
|
||||
%find_lang pg_config-15
|
||||
cat pg_config-15.lang >>libpq-devel.lst
|
||||
|
||||
%files -f libpq.lst
|
||||
%license COPYRIGHT
|
||||
@ -80,6 +80,9 @@ cat pg_config-13.lang >>libpq-devel.lst
|
||||
%_libdir/pkgconfig/libpq.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jun 27 2023 dillon chen<dillon.chen@gmail.com> - 15.0-1
|
||||
- upgrade libpq to 15.0
|
||||
|
||||
* Thu Dec 1 2022 huajingyun <huajingyun@loongson.cn> - 13.7-2
|
||||
- add loongarch support
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user