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 cddlib-094m/debian/changelog cddlib-094m/debian/changelog
--- cddlib-094m/debian/changelog        2021-12-27 22:39:19.000000000 +0000
+++ cddlib-094m/debian/changelog        2024-02-28 05:59:09.000000000 +0000
@@ -1,3 +1,10 @@
+cddlib (094m-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062042
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 28 Feb 2024 05:59:09 +0000
+
 cddlib (094m-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru cddlib-094m/debian/control cddlib-094m/debian/control
--- cddlib-094m/debian/control  2021-12-27 22:07:50.000000000 +0000
+++ cddlib-094m/debian/control  2024-02-28 05:59:09.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian Math Team <team+m...@tracker.debian.org>
 Uploaders: Tobias Hansen <than...@debian.org>
 Homepage: https://github.com/cddlib/cddlib
-Build-Depends: debhelper (>= 13), debhelper-compat (= 13), libgmp-dev, 
latexmk, latex2html
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 13), debhelper-compat (= 
13), libgmp-dev, latexmk, latex2html
 # latex2html is required due to html.sty.
 Standards-Version: 4.6.0
 Vcs-Git: https://salsa.debian.org/math-team/cddlib.git
@@ -13,7 +13,7 @@
 Package: libcdd-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libgmp-dev, libcdd0d (= ${binary:Version})
+Depends: ${misc:Depends}, libgmp-dev, libcdd0t64 (= ${binary:Version})
 Suggests: libcdd-doc
 Multi-Arch: same
 Description: Library for finding vertices of convex polytopes, development
@@ -25,7 +25,11 @@
  .
  This package contains the cddlib development files.
 
-Package: libcdd0d
+Package: libcdd0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libcdd0d
+Replaces: libcdd0d
+Breaks: libcdd0d (<< ${source:Version})
 Section: libs
 Architecture: any
 Conflicts: libcdd0
diff -Nru cddlib-094m/debian/libcdd0d.install 
cddlib-094m/debian/libcdd0d.install
--- cddlib-094m/debian/libcdd0d.install 2018-09-29 19:06:44.000000000 +0000
+++ cddlib-094m/debian/libcdd0d.install 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/*.so.*
diff -Nru cddlib-094m/debian/libcdd0d.lintian-overrides 
cddlib-094m/debian/libcdd0d.lintian-overrides
--- cddlib-094m/debian/libcdd0d.lintian-overrides       2018-09-29 
19:06:44.000000000 +0000
+++ cddlib-094m/debian/libcdd0d.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-# The soname libcdd.so.0 is now used by upstream, but
-# was used before in Debian for another ABI. Since the
-# package is only used by gfan, I think it is ok
-# to only rename the package and keep the soname.
-libcdd0d binary: package-name-doesnt-match-sonames
diff -Nru cddlib-094m/debian/libcdd0d.shlibs cddlib-094m/debian/libcdd0d.shlibs
--- cddlib-094m/debian/libcdd0d.shlibs  2018-09-29 19:06:44.000000000 +0000
+++ cddlib-094m/debian/libcdd0d.shlibs  1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-libcdd 0 libcdd0d
-libcddgmp 0 libcdd0d
diff -Nru cddlib-094m/debian/libcdd0t64.install 
cddlib-094m/debian/libcdd0t64.install
--- cddlib-094m/debian/libcdd0t64.install       1970-01-01 00:00:00.000000000 
+0000
+++ cddlib-094m/debian/libcdd0t64.install       2018-09-29 19:06:44.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff -Nru cddlib-094m/debian/libcdd0t64.lintian-overrides 
cddlib-094m/debian/libcdd0t64.lintian-overrides
--- cddlib-094m/debian/libcdd0t64.lintian-overrides     1970-01-01 
00:00:00.000000000 +0000
+++ cddlib-094m/debian/libcdd0t64.lintian-overrides     2024-02-28 
05:56:54.000000000 +0000
@@ -0,0 +1,6 @@
+# The soname libcdd.so.0 is now used by upstream, but
+# was used before in Debian for another ABI. Since the
+# package is only used by gfan, I think it is ok
+# to only rename the package and keep the soname.
+libcdd0t64 binary: package-name-doesnt-match-sonames
+libcdd0t64: package-name-doesnt-match-sonames libcdd0d
diff -Nru cddlib-094m/debian/libcdd0t64.shlibs 
cddlib-094m/debian/libcdd0t64.shlibs
--- cddlib-094m/debian/libcdd0t64.shlibs        1970-01-01 00:00:00.000000000 
+0000
+++ cddlib-094m/debian/libcdd0t64.shlibs        2024-02-28 05:56:54.000000000 
+0000
@@ -0,0 +1,2 @@
+libcdd 0 libcdd0t64
+libcddgmp 0 libcdd0t64

Reply via email to