[xml/sgml-pkgs] Bug#1062735: libxmltok: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Fri Mar 1 07:20:34 GMT 2024


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)
-------------- next part --------------
diff -Nru libxmltok-1.2/debian/changelog libxmltok-1.2/debian/changelog
--- libxmltok-1.2/debian/changelog	2017-08-10 12:06:20.000000000 +0000
+++ libxmltok-1.2/debian/changelog	2024-03-01 07:20:23.000000000 +0000
@@ -1,3 +1,10 @@
+libxmltok (1.2-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062735
+
+ -- Steve Langasek <vorlon at debian.org>  Fri, 01 Mar 2024 07:20:23 +0000
+
 libxmltok (1.2-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru libxmltok-1.2/debian/control libxmltok-1.2/debian/control
--- libxmltok-1.2/debian/control	2017-08-10 12:02:58.000000000 +0000
+++ libxmltok-1.2/debian/control	2024-03-01 07:20:23.000000000 +0000
@@ -5,12 +5,12 @@
 Uploaders: Ardo van Rangelrooij <ardo at debian.org>
 Homepage: http://www.jclark.com/xml/expat.html
 Standards-Version: 4.0.1
-Build-Depends: debhelper (>= 10)
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 10)
 
 Package: libxmltok1-dev
 Section: libdevel
 Architecture: any
-Depends: libxmltok1 (= ${binary:Version}), ${misc:Depends}, libc6-dev | libc-dev
+Depends: libxmltok1t64 (= ${binary:Version}), ${misc:Depends}, libc6-dev | libc-dev
 Description: XML Parser Toolkit, developer libraries
  Libraries for XML parsing in C.  It aims to be fully conforming. It
  is currently not a validating XML processor.
@@ -21,7 +21,10 @@
  .
  This package contains the development headers.
 
-Package: libxmltok1
+Package: libxmltok1t64
+Provides: ${t64:Provides}
+Replaces: libxmltok1
+Breaks: libxmltok1 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: XML Parser Toolkit, runtime libraries
diff -Nru libxmltok-1.2/debian/libxmltok1.docs libxmltok-1.2/debian/libxmltok1.docs
--- libxmltok-1.2/debian/libxmltok1.docs	2017-08-10 12:01:46.000000000 +0000
+++ libxmltok-1.2/debian/libxmltok1.docs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-debian/README.xmltok
diff -Nru libxmltok-1.2/debian/libxmltok1.install libxmltok-1.2/debian/libxmltok1.install
--- libxmltok-1.2/debian/libxmltok1.install	2017-08-10 12:01:46.000000000 +0000
+++ libxmltok-1.2/debian/libxmltok1.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*.so.*
diff -Nru libxmltok-1.2/debian/libxmltok1t64.docs libxmltok-1.2/debian/libxmltok1t64.docs
--- libxmltok-1.2/debian/libxmltok1t64.docs	1970-01-01 00:00:00.000000000 +0000
+++ libxmltok-1.2/debian/libxmltok1t64.docs	2017-08-10 12:01:46.000000000 +0000
@@ -0,0 +1 @@
+debian/README.xmltok
diff -Nru libxmltok-1.2/debian/libxmltok1t64.install libxmltok-1.2/debian/libxmltok1t64.install
--- libxmltok-1.2/debian/libxmltok1t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libxmltok-1.2/debian/libxmltok1t64.install	2017-08-10 12:01:46.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff -Nru libxmltok-1.2/debian/libxmltok1t64.lintian-overrides libxmltok-1.2/debian/libxmltok1t64.lintian-overrides
--- libxmltok-1.2/debian/libxmltok1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libxmltok-1.2/debian/libxmltok1t64.lintian-overrides	2024-03-01 07:20:19.000000000 +0000
@@ -0,0 +1 @@
+libxmltok1t64: package-name-doesnt-match-sonames libxmltok1


More information about the debian-xml-sgml-pkgs mailing list