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')
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 pari-2.15.4/debian/changelog pari-2.15.4/debian/changelog
--- pari-2.15.4/debian/changelog        2023-07-12 10:08:54.000000000 +0000
+++ pari-2.15.4/debian/changelog        2024-03-01 23:24:56.000000000 +0000
@@ -1,3 +1,10 @@
+pari (2.15.4-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063210
+
+ -- Steve Langasek <vor...@debian.org>  Fri, 01 Mar 2024 23:24:56 +0000
+
 pari (2.15.4-2) unstable; urgency=medium
 
   * New patch: usptream-forqfvec: from upstream, fix 32bit support
diff -Nru pari-2.15.4/debian/control pari-2.15.4/debian/control
--- pari-2.15.4/debian/control  2023-07-10 09:31:13.000000000 +0000
+++ pari-2.15.4/debian/control  2024-03-01 23:24:56.000000000 +0000
@@ -1,5 +1,5 @@
 Source: pari
-Build-Depends: debhelper-compat (= 13), libreadline-dev, libx11-dev, 
libgmp-dev,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), libreadline-dev, 
libx11-dev, libgmp-dev,
                pari-galdata, pari-elldata, pari-seadata, pari-galpol, 
pari-nflistdata
 Build-Depends-Indep: texlive-base, texlive-latex-base
 Section: math
@@ -34,7 +34,7 @@
 Architecture: any
 Section: libdevel
 Provides: libpari-gmp-tls8-dev
-Depends: libpari-gmp-tls8 (= ${binary:Version}), libc-dev, ${misc:Depends}
+Depends: libpari-gmp-tls8t64 (= ${binary:Version}), libc-dev, ${misc:Depends}
 Suggests: libpari-gmp-tls8-dbgsym, pari-gp2c
 Multi-Arch: same
 Description: PARI/GP Computer Algebra System development files
@@ -52,7 +52,10 @@
  .
  This package contains the include files and static library.
 
-Package: libpari-gmp-tls8
+Package: libpari-gmp-tls8t64
+Provides: ${t64:Provides}
+Replaces: libpari-gmp-tls8
+Breaks: libpari-gmp-tls8 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru pari-2.15.4/debian/libpari-gmp-tls8t64.lintian-overrides 
pari-2.15.4/debian/libpari-gmp-tls8t64.lintian-overrides
--- pari-2.15.4/debian/libpari-gmp-tls8t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ pari-2.15.4/debian/libpari-gmp-tls8t64.lintian-overrides    2024-03-01 
23:23:37.000000000 +0000
@@ -0,0 +1 @@
+libpari-gmp-tls8t64: package-name-doesnt-match-sonames libpari-gmp-tls8
diff -Nru pari-2.15.4/debian/rules pari-2.15.4/debian/rules
--- pari-2.15.4/debian/rules    2022-11-09 14:23:53.000000000 +0000
+++ pari-2.15.4/debian/rules    2024-03-01 23:24:56.000000000 +0000
@@ -57,7 +57,7 @@
 CC := `which $(CC)`
 endif
 
-libpkg = libpari-gmp-tls8
+libpkg = libpari-gmp-tls8t64
 libtriplet = usr/lib/$(DEB_HOST_MULTIARCH)
 inctriplet = usr/include/$(DEB_HOST_MULTIARCH)
 

Reply via email to