Source: termrec
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 termrec-0.19/debian/changelog termrec-0.19/debian/changelog
--- termrec-0.19/debian/changelog       2022-09-13 15:24:35.000000000 +0000
+++ termrec-0.19/debian/changelog       2024-02-29 18:07:07.000000000 +0000
@@ -1,3 +1,10 @@
+termrec (0.19-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062972
+
+ -- Benjamin Drung <bdr...@debian.org>  Thu, 29 Feb 2024 18:07:07 +0000
+
 termrec (0.19-2) unstable; urgency=medium
 
   * Bump watch file to version 4.
diff -Nru termrec-0.19/debian/control termrec-0.19/debian/control
--- termrec-0.19/debian/control 2022-09-13 15:08:22.000000000 +0000
+++ termrec-0.19/debian/control 2024-02-29 18:07:07.000000000 +0000
@@ -2,7 +2,7 @@
 Priority: optional
 Section: misc
 Maintainer: Adam Borowski <kilob...@angband.pl>
-Build-Depends: debhelper-compat (= 13), libbz2-dev, zlib1g-dev,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), libbz2-dev, 
zlib1g-dev,
   liblzma-dev, libzstd-dev, libcurl4-gnutls-dev
 Standards-Version: 4.6.1
 Rules-Requires-Root: no
@@ -13,7 +13,7 @@
 Package: termrec
 Architecture: any
 Multi-Arch: foreign
-Depends: libtty1 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libtty1t64 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: terminal videos/scripts recorder and player
  This package contains "termrec", a program which can record a terminal
  session and "termplay" to play it back.  They can handle both line-based
@@ -25,7 +25,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libtty1 (= ${binary:Version}), ${misc:Depends}
+Depends: libtty1t64 (= ${binary:Version}), ${misc:Depends}
 Description: terminal/ttyrec library -- development
  libtty is a library for handling terminal output.  It is kind of "reverse
  curses" -- it is on the receiving end of tty data, accepting vt100 codes
@@ -38,7 +38,10 @@
  .
  This package contains the library headers.
 
-Package: libtty1
+Package: libtty1t64
+Provides: ${t64:Provides}
+Replaces: libtty1
+Breaks: libtty1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru termrec-0.19/debian/libtty1.install 
termrec-0.19/debian/libtty1.install
--- termrec-0.19/debian/libtty1.install 2020-04-19 07:22:12.000000000 +0000
+++ termrec-0.19/debian/libtty1.install 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru termrec-0.19/debian/libtty1.symbols 
termrec-0.19/debian/libtty1.symbols
--- termrec-0.19/debian/libtty1.symbols 2020-04-19 07:22:12.000000000 +0000
+++ termrec-0.19/debian/libtty1.symbols 1970-01-01 00:00:00.000000000 +0000
@@ -1,30 +0,0 @@
-libtty.so.1 libtty1 #MINVER#
- open_stream@Base 0.18
- tty_color_convert@Base 0.18
- tty_copy@Base 0.18
- tty_free@Base 0.18
- tty_init@Base 0.18
- tty_printf@Base 0.18
- tty_reset@Base 0.18
- tty_resize@Base 0.18
- tty_write@Base 0.18
- ttyrec_add_frame@Base 0.18
- ttyrec_free@Base 0.18
- ttyrec_init@Base 0.18
- ttyrec_load@Base 0.18
- ttyrec_next_frame@Base 0.18
- ttyrec_r_find_format@Base 0.18
- ttyrec_r_get_format_ext@Base 0.18
- ttyrec_r_get_format_name@Base 0.18
- ttyrec_r_play@Base 0.18
- ttyrec_save@Base 0.18
- ttyrec_seek@Base 0.18
- ttyrec_w_close@Base 0.18
- ttyrec_w_find_format@Base 0.18
- ttyrec_w_get_format_ext@Base 0.18
- ttyrec_w_get_format_name@Base 0.18
- ttyrec_w_open@Base 0.18
- ttyrec_w_write@Base 0.18
- vtvt_attach@Base 0.18
- vtvt_dump@Base 0.18
- vtvt_resize@Base 0.18
diff -Nru termrec-0.19/debian/libtty1t64.install 
termrec-0.19/debian/libtty1t64.install
--- termrec-0.19/debian/libtty1t64.install      1970-01-01 00:00:00.000000000 
+0000
+++ termrec-0.19/debian/libtty1t64.install      2020-04-19 07:22:12.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru termrec-0.19/debian/libtty1t64.lintian-overrides 
termrec-0.19/debian/libtty1t64.lintian-overrides
--- termrec-0.19/debian/libtty1t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ termrec-0.19/debian/libtty1t64.lintian-overrides    2024-02-29 
18:07:03.000000000 +0000
@@ -0,0 +1 @@
+libtty1t64: package-name-doesnt-match-sonames libtty1
diff -Nru termrec-0.19/debian/libtty1t64.symbols 
termrec-0.19/debian/libtty1t64.symbols
--- termrec-0.19/debian/libtty1t64.symbols      1970-01-01 00:00:00.000000000 
+0000
+++ termrec-0.19/debian/libtty1t64.symbols      2024-02-29 18:07:03.000000000 
+0000
@@ -0,0 +1,30 @@
+libtty.so.1 libtty1t64 #MINVER#
+ open_stream@Base 0.18
+ tty_color_convert@Base 0.18
+ tty_copy@Base 0.18
+ tty_free@Base 0.18
+ tty_init@Base 0.18
+ tty_printf@Base 0.18
+ tty_reset@Base 0.18
+ tty_resize@Base 0.18
+ tty_write@Base 0.18
+ ttyrec_add_frame@Base 0.18
+ ttyrec_free@Base 0.18
+ ttyrec_init@Base 0.18
+ ttyrec_load@Base 0.18
+ ttyrec_next_frame@Base 0.18
+ ttyrec_r_find_format@Base 0.18
+ ttyrec_r_get_format_ext@Base 0.18
+ ttyrec_r_get_format_name@Base 0.18
+ ttyrec_r_play@Base 0.18
+ ttyrec_save@Base 0.18
+ ttyrec_seek@Base 0.18
+ ttyrec_w_close@Base 0.18
+ ttyrec_w_find_format@Base 0.18
+ ttyrec_w_get_format_ext@Base 0.18
+ ttyrec_w_get_format_name@Base 0.18
+ ttyrec_w_open@Base 0.18
+ ttyrec_w_write@Base 0.18
+ vtvt_attach@Base 0.18
+ vtvt_dump@Base 0.18
+ vtvt_resize@Base 0.18

Reply via email to