From 646a9f3410dab150e0c7871273d4982fa5c132e9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 13:34:06 +0300 Subject: Release version 14.1.0+1 Suppress -Wdeprecated-declarations Clang 15 warning. Fix link order so that libraries are linked after all object files. --- TODO | 8 ++++++++ libpq/libpq/buildfile | 9 ++++++--- libpq/manifest | 3 +-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 964ab3c..ed7bfd8 100644 --- a/TODO +++ b/TODO @@ -2,4 +2,12 @@ On the revision: On the release: + - Switch to using -pthread from -D_REENTRANT/-lpthread. + Note that this requires bumping build2 version requirement to 0.15.0. + +Additional (permanent) notes: + +- Review '@@ TMP' notes. + +- Add/remove 'priority: security' manifest value, if required. diff --git a/libpq/libpq/buildfile b/libpq/libpq/buildfile index 28cd073..413583c 100644 --- a/libpq/libpq/buildfile +++ b/libpq/libpq/buildfile @@ -24,8 +24,7 @@ lib{pq}: {h }{* -version} \ -*win32*} \ common/{h c}{* } \ include/{h }{** } \ - pq/{file}{pg_service.conf.sample} \ - $imp_libs + pq/{file}{pg_service.conf.sample} tclass = $c.target.class tsys = $c.target.system @@ -50,6 +49,8 @@ lib{pq}: port/c{strlcpy}: include = (!$bsd && !$macos) lib{pq}: pq/{h c}{*win32* } \ port/{h c}{*win32* +getaddrinfo +inet_aton}: include = $windows +lib{pq}: $imp_libs + libs{pq}: map{libpqdll}: include = ($linux || $bsd ? adhoc : false) libs{pq}: def{libpqdll}: include = $windows @@ -191,7 +192,9 @@ switch $c.class # way that works across compilers/version (some -Wno-* options are only # recognized in newer versions). # - c.coptions += -Wno-all -Wno-extra + # @@ TMP: try to re-enable on next release. + # + c.coptions += -Wno-all -Wno-extra -Wno-deprecated-declarations } case 'msvc' { diff --git a/libpq/manifest b/libpq/manifest index fc8e94f..da81144 100644 --- a/libpq/manifest +++ b/libpq/manifest @@ -3,11 +3,10 @@ name: libpq # Note: remember to update doc-url below! # -version: 14.1.0 +version: 14.1.0+1 upstream-version: 14.1 project: postgresql -priority: security summary: PostgreSQL C API client library license: PostgreSQL ; Permissive free software license. topics: C, PostgreSQL, SQL, relational database -- cgit v1.1