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.83-1.83.0/debian/changelog boost1.83-1.83.0/debian/changelog
--- boost1.83-1.83.0/debian/changelog   2023-12-22 22:36:50.000000000 +0000
+++ boost1.83-1.83.0/debian/changelog   2024-02-28 04:40:55.000000000 +0000
@@ -1,3 +1,10 @@
+boost1.83 (1.83.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062027
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 28 Feb 2024 04:40:55 +0000
+
 boost1.83 (1.83.0-2) unstable; urgency=medium
 
   * [139123a] Add dep to libboost1.83-all-dev on libboost-url1.83-dev. 
(Closes: #1058948)
diff -Nru boost1.83-1.83.0/debian/control boost1.83-1.83.0/debian/control
--- boost1.83-1.83.0/debian/control     2023-12-19 06:01:57.000000000 +0000
+++ boost1.83-1.83.0/debian/control     2024-02-28 04:40:55.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,
@@ -219,7 +219,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, libboost-atomic1.74-dev, 
libboost-atomic1.80-dev, libboost-atomic1.81-dev
 
-Package: libboost-chrono1.83.0
+Package: libboost-chrono1.83.0t64
+Provides: ${t64:Provides}
+Replaces: libboost-chrono1.83.0
+Breaks: libboost-chrono1.83.0 (<< ${source:Version})
 Homepage: http://www.boost.org/libs/chrono/
 Architecture: any
 Multi-Arch: same
@@ -269,7 +272,7 @@
 Section: libdevel
 Depends: ${misc:Depends},
  libboost1.83-dev (= ${binary:Version}),
- libboost-chrono1.83.0 (= ${binary:Version})
+ libboost-chrono1.83.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, 
libboost-chrono1.74-dev, libboost-chrono1.80-dev, libboost-chrono1.81-dev
 Description: C++ representation of time duration, time point, and clocks
  This package forms part of the Boost C++ Libraries collection.
diff -Nru boost1.83-1.83.0/debian/rules boost1.83-1.83.0/debian/rules
--- boost1.83-1.83.0/debian/rules       2023-10-15 18:39:41.000000000 +0000
+++ boost1.83-1.83.0/debian/rules       2024-02-28 04:40:39.000000000 +0000
@@ -69,11 +69,11 @@
 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.
 # Input: component
 # Return: prefix to debhelper filenames

Reply via email to