Source: libpqtypes
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru libpqtypes-1.5.1/debian/changelog libpqtypes-1.5.1/debian/changelog
--- libpqtypes-1.5.1/debian/changelog   2022-10-05 13:54:22.000000000 +0000
+++ libpqtypes-1.5.1/debian/changelog   2024-02-28 16:18:34.000000000 +0000
@@ -1,3 +1,10 @@
+libpqtypes (1.5.1-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062572
+
+ -- Benjamin Drung <bdr...@debian.org>  Wed, 28 Feb 2024 16:18:34 +0000
+
 libpqtypes (1.5.1-9) unstable; urgency=medium
 
   * Disable "char" test, broken with PG15 (and probably not worth fixing).
diff -Nru libpqtypes-1.5.1/debian/control libpqtypes-1.5.1/debian/control
--- libpqtypes-1.5.1/debian/control     2022-10-05 13:54:22.000000000 +0000
+++ libpqtypes-1.5.1/debian/control     2024-02-28 16:18:34.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian PostgreSQL Maintainers <team+postgre...@tracker.debian.org>
 Uploaders: Christoph Berg <m...@debian.org>
-Build-Depends: debhelper-compat (= 13), libpq-dev, postgresql
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), libpq-dev, 
postgresql
 Standards-Version: 4.5.1
 Rules-Requires-Root: no
 Vcs-Browser: https://salsa.debian.org/postgresql/libpqtypes
@@ -13,7 +13,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libpq-dev, libpqtypes0 (= ${binary:Version}),
+Depends: libpq-dev, libpqtypes0t64 (= ${binary:Version}),
  ${shlibs:Depends}, ${misc:Depends}
 Description: parameterized queries libpq extension - development
  libpqtypes is a libpq extension that offers a new way of handling
@@ -33,7 +33,10 @@
  .
  This package contains the headers and manpages.
 
-Package: libpqtypes0
+Package: libpqtypes0t64
+Provides: ${t64:Provides}
+Replaces: libpqtypes0
+Breaks: libpqtypes0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0.install 
libpqtypes-1.5.1/debian/libpqtypes0.install
--- libpqtypes-1.5.1/debian/libpqtypes0.install 2014-11-24 11:44:09.000000000 
+0000
+++ libpqtypes-1.5.1/debian/libpqtypes0.install 1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libpqtypes.so.*
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0.symbols 
libpqtypes-1.5.1/debian/libpqtypes0.symbols
--- libpqtypes-1.5.1/debian/libpqtypes0.symbols 2014-11-24 11:44:09.000000000 
+0000
+++ libpqtypes-1.5.1/debian/libpqtypes0.symbols 1970-01-01 00:00:00.000000000 
+0000
@@ -1,120 +0,0 @@
-libpqtypes.so.0 libpqtypes0 #MINVER#
- PQclearSpecs@Base 0
- PQclearTypes@Base 0
- PQexecf@Base 0
- PQexecvf@Base 0
- PQgetErrorField@Base 0
- PQgeterror@Base 0
- PQgetf@Base 0
- PQgetvf@Base 0
- PQinitTypes@Base 0
- PQlocalTZInfo@Base 0
- PQparamClear@Base 0
- PQparamCount@Base 0
- PQparamCreate@Base 0
- PQparamDup@Base 0
- PQparamExec@Base 0
- PQparamExecPrepared@Base 0
- PQparamReset@Base 0
- PQparamSendQuery@Base 0
- PQparamSendQueryPrepared@Base 0
- PQputf@Base 0
- PQputvf@Base 0
- PQregisterComposites@Base 0
- PQregisterResult@Base 0
- PQregisterSubClasses@Base 0
- PQregisterTypes@Base 0
- PQregisterUserDefinedTypes@Base 0
- PQsendf@Base 0
- PQsendvf@Base 0
- PQseterror@Base 0
- PQspecPrepare@Base 0
- PQtypesRegister@Base 0
- pqt_allowsptr@Base 0
- pqt_argserrorf@Base 0
- pqt_argssuper@Base 0
- pqt_clearspec@Base 0
- pqt_cleartypes@Base 0
- pqt_copyresult@Base 0
- pqt_duphandlers@Base 0
- pqt_dupspecs@Base 0
- pqt_eventproc@Base 0
- pqt_fqtn@Base 0
- pqt_freehandlers@Base 0
- pqt_freespecs@Base 0
- pqt_get_array@Base 0
- pqt_get_bool@Base 0
- pqt_get_box@Base 0
- pqt_get_bytea@Base 0
- pqt_get_char@Base 0
- pqt_get_cidr@Base 0
- pqt_get_circle@Base 0
- pqt_get_date@Base 0
- pqt_get_float4@Base 0
- pqt_get_float8@Base 0
- pqt_get_inet@Base 0
- pqt_get_int2@Base 0
- pqt_get_int4@Base 0
- pqt_get_int8@Base 0
- pqt_get_interval@Base 0
- pqt_get_lseg@Base 0
- pqt_get_macaddr@Base 0
- pqt_get_money@Base 0
- pqt_get_numeric@Base 0
- pqt_get_path@Base 0
- pqt_get_point@Base 0
- pqt_get_polygon@Base 0
- pqt_get_record@Base 0
- pqt_get_text@Base 0
- pqt_get_time@Base 0
- pqt_get_timestamp@Base 0
- pqt_get_timestamptz@Base 0
- pqt_get_timetz@Base 0
- pqt_get_uuid@Base 0
- pqt_getfmtinfo@Base 0
- pqt_gethandler@Base 0
- pqt_gethandlerbyid@Base 0
- pqt_getspec@Base 0
- pqt_parse@Base 0
- pqt_parsetype@Base 0
- pqt_put_array@Base 0
- pqt_put_bool@Base 0
- pqt_put_box@Base 0
- pqt_put_bytea@Base 0
- pqt_put_char@Base 0
- pqt_put_circle@Base 0
- pqt_put_date@Base 0
- pqt_put_float4@Base 0
- pqt_put_float8@Base 0
- pqt_put_inet@Base 0
- pqt_put_int2@Base 0
- pqt_put_int4@Base 0
- pqt_put_int8@Base 0
- pqt_put_interval@Base 0
- pqt_put_lseg@Base 0
- pqt_put_macaddr@Base 0
- pqt_put_money@Base 0
- pqt_put_null@Base 0
- pqt_put_numeric@Base 0
- pqt_put_path@Base 0
- pqt_put_point@Base 0
- pqt_put_polygon@Base 0
- pqt_put_record@Base 0
- pqt_put_str@Base 0
- pqt_put_text@Base 0
- pqt_put_time@Base 0
- pqt_put_timestamp@Base 0
- pqt_put_timestamptz@Base 0
- pqt_put_timetz@Base 0
- pqt_put_uuid@Base 0
- pqt_putparam@Base 0
- pqt_setresultfields@Base 0
- pqt_snprintf@Base 0
- pqt_strcasecmp@Base 0
- pqt_strcpy@Base 0
- pqt_strncasecmp@Base 0
- pqt_swap8@Base 0
- pqt_text_to_float8@Base 0
- pqt_text_to_int8@Base 0
- pqt_tolower@Base 0
- pqt_vsnprintf@Base 0
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0t64.install 
libpqtypes-1.5.1/debian/libpqtypes0t64.install
--- libpqtypes-1.5.1/debian/libpqtypes0t64.install      1970-01-01 
00:00:00.000000000 +0000
+++ libpqtypes-1.5.1/debian/libpqtypes0t64.install      2014-11-24 
11:44:09.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libpqtypes.so.*
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides 
libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides
--- libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides    2024-02-28 
16:18:25.000000000 +0000
@@ -0,0 +1 @@
+libpqtypes0t64: package-name-doesnt-match-sonames libpqtypes0
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0t64.symbols 
libpqtypes-1.5.1/debian/libpqtypes0t64.symbols
--- libpqtypes-1.5.1/debian/libpqtypes0t64.symbols      1970-01-01 
00:00:00.000000000 +0000
+++ libpqtypes-1.5.1/debian/libpqtypes0t64.symbols      2024-02-28 
16:18:25.000000000 +0000
@@ -0,0 +1,120 @@
+libpqtypes.so.0 libpqtypes0t64 #MINVER#
+ PQclearSpecs@Base 0
+ PQclearTypes@Base 0
+ PQexecf@Base 0
+ PQexecvf@Base 0
+ PQgetErrorField@Base 0
+ PQgeterror@Base 0
+ PQgetf@Base 0
+ PQgetvf@Base 0
+ PQinitTypes@Base 0
+ PQlocalTZInfo@Base 0
+ PQparamClear@Base 0
+ PQparamCount@Base 0
+ PQparamCreate@Base 0
+ PQparamDup@Base 0
+ PQparamExec@Base 0
+ PQparamExecPrepared@Base 0
+ PQparamReset@Base 0
+ PQparamSendQuery@Base 0
+ PQparamSendQueryPrepared@Base 0
+ PQputf@Base 0
+ PQputvf@Base 0
+ PQregisterComposites@Base 0
+ PQregisterResult@Base 0
+ PQregisterSubClasses@Base 0
+ PQregisterTypes@Base 0
+ PQregisterUserDefinedTypes@Base 0
+ PQsendf@Base 0
+ PQsendvf@Base 0
+ PQseterror@Base 0
+ PQspecPrepare@Base 0
+ PQtypesRegister@Base 0
+ pqt_allowsptr@Base 0
+ pqt_argserrorf@Base 0
+ pqt_argssuper@Base 0
+ pqt_clearspec@Base 0
+ pqt_cleartypes@Base 0
+ pqt_copyresult@Base 0
+ pqt_duphandlers@Base 0
+ pqt_dupspecs@Base 0
+ pqt_eventproc@Base 0
+ pqt_fqtn@Base 0
+ pqt_freehandlers@Base 0
+ pqt_freespecs@Base 0
+ pqt_get_array@Base 0
+ pqt_get_bool@Base 0
+ pqt_get_box@Base 0
+ pqt_get_bytea@Base 0
+ pqt_get_char@Base 0
+ pqt_get_cidr@Base 0
+ pqt_get_circle@Base 0
+ pqt_get_date@Base 0
+ pqt_get_float4@Base 0
+ pqt_get_float8@Base 0
+ pqt_get_inet@Base 0
+ pqt_get_int2@Base 0
+ pqt_get_int4@Base 0
+ pqt_get_int8@Base 0
+ pqt_get_interval@Base 0
+ pqt_get_lseg@Base 0
+ pqt_get_macaddr@Base 0
+ pqt_get_money@Base 0
+ pqt_get_numeric@Base 0
+ pqt_get_path@Base 0
+ pqt_get_point@Base 0
+ pqt_get_polygon@Base 0
+ pqt_get_record@Base 0
+ pqt_get_text@Base 0
+ pqt_get_time@Base 0
+ pqt_get_timestamp@Base 0
+ pqt_get_timestamptz@Base 0
+ pqt_get_timetz@Base 0
+ pqt_get_uuid@Base 0
+ pqt_getfmtinfo@Base 0
+ pqt_gethandler@Base 0
+ pqt_gethandlerbyid@Base 0
+ pqt_getspec@Base 0
+ pqt_parse@Base 0
+ pqt_parsetype@Base 0
+ pqt_put_array@Base 0
+ pqt_put_bool@Base 0
+ pqt_put_box@Base 0
+ pqt_put_bytea@Base 0
+ pqt_put_char@Base 0
+ pqt_put_circle@Base 0
+ pqt_put_date@Base 0
+ pqt_put_float4@Base 0
+ pqt_put_float8@Base 0
+ pqt_put_inet@Base 0
+ pqt_put_int2@Base 0
+ pqt_put_int4@Base 0
+ pqt_put_int8@Base 0
+ pqt_put_interval@Base 0
+ pqt_put_lseg@Base 0
+ pqt_put_macaddr@Base 0
+ pqt_put_money@Base 0
+ pqt_put_null@Base 0
+ pqt_put_numeric@Base 0
+ pqt_put_path@Base 0
+ pqt_put_point@Base 0
+ pqt_put_polygon@Base 0
+ pqt_put_record@Base 0
+ pqt_put_str@Base 0
+ pqt_put_text@Base 0
+ pqt_put_time@Base 0
+ pqt_put_timestamp@Base 0
+ pqt_put_timestamptz@Base 0
+ pqt_put_timetz@Base 0
+ pqt_put_uuid@Base 0
+ pqt_putparam@Base 0
+ pqt_setresultfields@Base 0
+ pqt_snprintf@Base 0
+ pqt_strcasecmp@Base 0
+ pqt_strcpy@Base 0
+ pqt_strncasecmp@Base 0
+ pqt_swap8@Base 0
+ pqt_text_to_float8@Base 0
+ pqt_text_to_int8@Base 0
+ pqt_tolower@Base 0
+ pqt_vsnprintf@Base 0

Reply via email to