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-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru boost1.74-1.74.0+ds1/debian/changelog 
boost1.74-1.74.0+ds1/debian/changelog
--- boost1.74-1.74.0+ds1/debian/changelog       2023-10-06 06:15:55.000000000 
+0000
+++ boost1.74-1.74.0+ds1/debian/changelog       2024-02-28 04:05:36.000000000 
+0000
@@ -1,3 +1,10 @@
+boost1.74 (1.74.0+ds1-23.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061979
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 28 Feb 2024 04:05:36 +0000
+
 boost1.74 (1.74.0+ds1-23) unstable; urgency=medium
 
   [ Gianfranco Costamagna ]
diff -Nru boost1.74-1.74.0+ds1/debian/control 
boost1.74-1.74.0+ds1/debian/control
--- boost1.74-1.74.0+ds1/debian/control 2023-10-03 07:06:19.000000000 +0000
+++ boost1.74-1.74.0+ds1/debian/control 2024-02-28 04:05:36.000000000 +0000
@@ -6,7 +6,7 @@
 Uploaders:
  Giovanni Mascellani <g...@debian.org>,
  Anton Gladky <gl...@debian.org>
-Build-Depends: debhelper-compat (= 12), dpkg-dev (>= 1.16.1~), dctrl-tools, 
chrpath,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 12), dpkg-dev (>= 
1.16.1~), dctrl-tools, chrpath,
  zlib1g-dev, libbz2-dev, liblzma-dev, libzstd-dev, libicu-dev (>= 63.1), 
mpi-default-dev,
  bison, flex, docbook-to-man, help2man, xsltproc, doxygen,
  docbook-xsl, docbook-xml, texlive-latex-base, ghostscript,
@@ -214,7 +214,10 @@
  locking.
 Conflicts: libboost-atomic1.53-dev, libboost-atomic1.54-dev, 
libboost-atomic1.55-dev, libboost-atomic1.57-dev, libboost-atomic1.58-dev, 
libboost-atomic1.60-dev, libboost-atomic1.61-dev, libboost-atomic1.62-dev, 
libboost-atomic1.63-dev, libboost-atomic1.65-dev, libboost-atomic1.67-dev, 
libboost-atomic1.70-dev, libboost-atomic1.71-dev
 
-Package: libboost-chrono1.74.0
+Package: libboost-chrono1.74.0t64
+Provides: ${t64:Provides}
+Replaces: libboost-chrono1.74.0
+Breaks: libboost-chrono1.74.0 (<< ${source:Version})
 Homepage: http://www.boost.org/libs/chrono/
 Architecture: any
 Multi-Arch: same
@@ -264,7 +267,7 @@
 Section: libdevel
 Depends: ${misc:Depends},
  libboost1.74-dev (= ${binary:Version}),
- libboost-chrono1.74.0 (= ${binary:Version})
+ libboost-chrono1.74.0t64 (= ${binary:Version})
 Conflicts: libboost-chrono1.48-dev, libboost-chrono1.49-dev, 
libboost-chrono1.50-dev, libboost-chrono1.52-dev, libboost-chrono1.53-dev, 
libboost-chrono1.54-dev, libboost-chrono1.55-dev, libboost-chrono1.57-dev, 
libboost-chrono1.58-dev, libboost-chrono1.60-dev, libboost-chrono1.61-dev, 
libboost-chrono1.62-dev, libboost-chrono1.63-dev, libboost-chrono1.65-dev, 
libboost-chrono1.67-dev, libboost-chrono1.70-dev, libboost-chrono1.71-dev
 Description: C++ representation of time duration, time point, and clocks
  This package forms part of the Boost C++ Libraries collection.
diff -Nru boost1.74-1.74.0+ds1/debian/rules boost1.74-1.74.0+ds1/debian/rules
--- boost1.74-1.74.0+ds1/debian/rules   2023-10-03 07:06:19.000000000 +0000
+++ boost1.74-1.74.0+ds1/debian/rules   2024-02-28 04:05:34.000000000 +0000
@@ -69,9 +69,10 @@
 mk_base_name = usr/lib/$(DEB_HOST_MULTIARCH)/libboost_$(subst -,_,$(1))$(2)
 mk_cmake_name = usr/lib/$(DEB_HOST_MULTIARCH)/cmake/boost_$(subst 
-,_,$(1))-$(SOVERSION)/
 
+t64_suffix_chrono = t64
 # Input: component
 # Return: package name for shared library or development
-mk_pkg_lib = libboost-$(1)$(SOVERSION)
+mk_pkg_lib = libboost-$(1)$(SOVERSION)$(t64_suffix_$(1))
 mk_pkg_dev = libboost-$(1)$(PKGVERSION)-dev
 
 # Helpers to generate debhelper input filenames.

Reply via email to