Source: qsopt-ex
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 qsopt-ex-2.5.10.3/debian/changelog qsopt-ex-2.5.10.3/debian/changelog
--- qsopt-ex-2.5.10.3/debian/changelog  2018-10-30 08:25:41.000000000 +0000
+++ qsopt-ex-2.5.10.3/debian/changelog  2024-02-29 21:43:15.000000000 +0000
@@ -1,3 +1,10 @@
+qsopt-ex (2.5.10.3-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062721
+
+ -- Benjamin Drung <bdr...@debian.org>  Thu, 29 Feb 2024 21:43:15 +0000
+
 qsopt-ex (2.5.10.3-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru qsopt-ex-2.5.10.3/debian/control qsopt-ex-2.5.10.3/debian/control
--- qsopt-ex-2.5.10.3/debian/control    2018-10-30 08:25:41.000000000 +0000
+++ qsopt-ex-2.5.10.3/debian/control    2024-02-29 21:43:15.000000000 +0000
@@ -3,8 +3,8 @@
 Uploaders: Afif Elghraoui <a...@ghraoui.name>
 Section: math
 Priority: optional
-Build-Depends: debhelper (>= 11~),
-               d-shlibs,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 11~),
+               d-shlibs (>= 0.106),
                libgmp-dev
 Standards-Version: 4.2.1
 Vcs-Browser: https://salsa.debian.org/med-team/qsopt-ex
@@ -15,7 +15,7 @@
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libqsopt-ex2 (= ${binary:Version})
+         libqsopt-ex2t64 (= ${binary:Version})
 Description: Exact linear programming solver
  QSopt-ex is an implementation of a simplex-based algorithm that returns exact
  rational solutions, taking advantage of the speed of floating-point
@@ -29,7 +29,7 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libqsopt-ex2 (= ${binary:Version})
+         libqsopt-ex2t64 (= ${binary:Version})
 Description: Exact linear programming solver -- development files
  QSopt-ex is an implementation of a simplex-based algorithm that returns exact
  rational solutions, taking advantage of the speed of floating-point
@@ -38,7 +38,10 @@
  .
  This package contains the header files and static library.
 
-Package: libqsopt-ex2
+Package: libqsopt-ex2t64
+Provides: ${t64:Provides}
+Replaces: libqsopt-ex2
+Conflicts: libqsopt-ex2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
diff -Nru qsopt-ex-2.5.10.3/debian/libqsopt-ex2t64.lintian-overrides 
qsopt-ex-2.5.10.3/debian/libqsopt-ex2t64.lintian-overrides
--- qsopt-ex-2.5.10.3/debian/libqsopt-ex2t64.lintian-overrides  1970-01-01 
00:00:00.000000000 +0000
+++ qsopt-ex-2.5.10.3/debian/libqsopt-ex2t64.lintian-overrides  2024-02-29 
21:42:53.000000000 +0000
@@ -0,0 +1 @@
+libqsopt-ex2t64: package-name-doesnt-match-sonames libqsopt-ex2
diff -Nru qsopt-ex-2.5.10.3/debian/rules qsopt-ex-2.5.10.3/debian/rules
--- qsopt-ex-2.5.10.3/debian/rules      2018-10-30 08:25:41.000000000 +0000
+++ qsopt-ex-2.5.10.3/debian/rules      2024-02-29 21:43:14.000000000 +0000
@@ -10,6 +10,7 @@
 override_dh_install:
        dh_install
        d-shlibmove --commit \
+                   --t64 \
                    --multiarch \
                    --devunversioned \
                    --exclude-la \

Reply via email to