[Pkg-electronics-devel] Bug#1062412: libmawk: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Wed Feb 28 14:03:59 GMT 2024


Source: libmawk
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
-------------- next part --------------
diff -Nru libmawk-1.0.2/debian/changelog libmawk-1.0.2/debian/changelog
--- libmawk-1.0.2/debian/changelog	2020-08-07 14:49:48.000000000 +0000
+++ libmawk-1.0.2/debian/changelog	2024-02-28 14:03:48.000000000 +0000
@@ -1,3 +1,10 @@
+libmawk (1.0.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062412
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 14:03:48 +0000
+
 libmawk (1.0.2-3) unstable; urgency=medium
 
   * trivial patch to allow for compilation with GCC 10, closes: #957451
diff -Nru libmawk-1.0.2/debian/control libmawk-1.0.2/debian/control
--- libmawk-1.0.2/debian/control	2020-08-07 14:49:48.000000000 +0000
+++ libmawk-1.0.2/debian/control	2024-02-28 14:03:48.000000000 +0000
@@ -3,13 +3,16 @@
 Priority: optional
 Maintainer: Debian Electronics Team <pkg-electronics-devel at lists.alioth.debian.org>
 Uploaders: Bdale Garbee <bdale at gag.com>
-Build-Depends: debhelper (>= 11)
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 11)
 Standards-Version: 4.1.3
 Homepage: http://repo.hu/projects/libmawk
 Vcs-Git: https://salsa.debian.org/electronics-team/libmawk.git
 Vcs-Browser: https://salsa.debian.org/electronics-team/libmawk
 
-Package: libmawk1
+Package: libmawk1t64
+Provides: ${t64:Provides}
+Replaces: libmawk1
+Breaks: libmawk1 (<< ${source:Version})
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: embeddable mawk lib
@@ -27,7 +30,7 @@
 Package: libmawk-dev
 Section: libdevel
 Architecture: all
-Depends: ${misc:Depends}, ${shlibs:Depends}, libmawk1 (>= ${source:Version}), libmawk1 (<< ${source:Version}.1~)
+Depends: ${misc:Depends}, ${shlibs:Depends}, libmawk1t64 (>= ${source:Version}), libmawk1 (<< ${source:Version}.1~)
 Description: embeddable mawk lib
  Libmawk is a fork of the popular awk implementation mawk, and aims to be
  the lightweight script language programmers embed in their application.
diff -Nru libmawk-1.0.2/debian/libmawk1.install libmawk-1.0.2/debian/libmawk1.install
--- libmawk-1.0.2/debian/libmawk1.install	2020-08-07 14:49:48.000000000 +0000
+++ libmawk-1.0.2/debian/libmawk1.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
-/usr/bin/*
-/usr/lib/*.so.[0123456789]
-/usr/lib/*.so.*.*.*
-/usr/share/man/*
-/usr/share/doc/*
-
diff -Nru libmawk-1.0.2/debian/libmawk1t64.install libmawk-1.0.2/debian/libmawk1t64.install
--- libmawk-1.0.2/debian/libmawk1t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libmawk-1.0.2/debian/libmawk1t64.install	2020-08-07 14:49:48.000000000 +0000
@@ -0,0 +1,6 @@
+/usr/bin/*
+/usr/lib/*.so.[0123456789]
+/usr/lib/*.so.*.*.*
+/usr/share/man/*
+/usr/share/doc/*
+
diff -Nru libmawk-1.0.2/debian/libmawk1t64.lintian-overrides libmawk-1.0.2/debian/libmawk1t64.lintian-overrides
--- libmawk-1.0.2/debian/libmawk1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libmawk-1.0.2/debian/libmawk1t64.lintian-overrides	2024-02-28 14:03:44.000000000 +0000
@@ -0,0 +1 @@
+libmawk1t64: package-name-doesnt-match-sonames libmawk1


More information about the Pkg-electronics-devel mailing list