Source: libldm
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 libldm-0.2.5/debian/changelog libldm-0.2.5/debian/changelog
--- libldm-0.2.5/debian/changelog       2021-05-10 23:02:03.000000000 +0000
+++ libldm-0.2.5/debian/changelog       2024-02-28 13:32:55.000000000 +0000
@@ -1,3 +1,10 @@
+libldm (0.2.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062396
+
+ -- Benjamin Drung <bdr...@debian.org>  Wed, 28 Feb 2024 13:32:55 +0000
+
 libldm (0.2.5-1) unstable; urgency=medium
 
   * New upstream version 0.2.5
diff -Nru libldm-0.2.5/debian/control libldm-0.2.5/debian/control
--- libldm-0.2.5/debian/control 2021-03-24 20:20:37.000000000 +0000
+++ libldm-0.2.5/debian/control 2024-02-28 13:32:55.000000000 +0000
@@ -1,7 +1,7 @@
 Source: libldm
 Priority: optional
 Maintainer: Hilko Bengen <ben...@debian.org>
-Build-Depends: debhelper (>= 10~),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 10~),
  pkg-config,
  libglib2.0-dev,
  libjson-glib-dev,
@@ -21,7 +21,7 @@
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libldm-1.0-0 (= ${binary:Version}), ${misc:Depends}
+Depends: libldm-1.0-0t64 (= ${binary:Version}), ${misc:Depends}
 Description: library for managing Microsoft Windows dynamic disks
  libldm is a library for managing Microsoft Windows dynamic disks,
  which use Microsoft's LDM metadata. It can inspect them, and also
@@ -29,7 +29,10 @@
  .
  This package includes the headers
 
-Package: libldm-1.0-0
+Package: libldm-1.0-0t64
+Provides: ${t64:Provides}
+Replaces: libldm-1.0-0
+Breaks: libldm-1.0-0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru libldm-0.2.5/debian/libldm-1.0-0.install 
libldm-0.2.5/debian/libldm-1.0-0.install
--- libldm-0.2.5/debian/libldm-1.0-0.install    2021-03-24 20:20:37.000000000 
+0000
+++ libldm-0.2.5/debian/libldm-1.0-0.install    1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*-*/lib*.so.*
diff -Nru libldm-0.2.5/debian/libldm-1.0-0.symbols 
libldm-0.2.5/debian/libldm-1.0-0.symbols
--- libldm-0.2.5/debian/libldm-1.0-0.symbols    2021-05-10 22:46:18.000000000 
+0000
+++ libldm-0.2.5/debian/libldm-1.0-0.symbols    1970-01-01 00:00:00.000000000 
+0000
@@ -1,46 +0,0 @@
-libldm-1.0.so.0 libldm-1.0-0 #MINVER#
- (optional|regex)^_ 0
- (optional|regex)^gpt_ 0
- (optional|regex)^mbr_ 0
- ldm_add@Base 0.2.3
- ldm_add_fd@Base 0.2.3
- ldm_disk_get_data_size@Base 0.2.3
- ldm_disk_get_data_start@Base 0.2.3
- ldm_disk_get_device@Base 0.2.3
- ldm_disk_get_guid@Base 0.2.3
- ldm_disk_get_metadata_size@Base 0.2.3
- ldm_disk_get_metadata_start@Base 0.2.3
- ldm_disk_get_name@Base 0.2.3
- ldm_disk_get_type@Base 0.2.3
- ldm_disk_group_get_disks@Base 0.2.3
- ldm_disk_group_get_guid@Base 0.2.3
- ldm_disk_group_get_name@Base 0.2.3
- ldm_disk_group_get_partitions@Base 0.2.3
- ldm_disk_group_get_type@Base 0.2.3
- ldm_disk_group_get_volumes@Base 0.2.3
- ldm_error_get_type@Base 0.2.3
- ldm_error_quark@Base 0.2.3
- ldm_get_disk_groups@Base 0.2.3
- ldm_get_type@Base 0.2.3
- ldm_new@Base 0.2.3
- ldm_partition_dm_get_device@Base 0.2.5
- ldm_partition_get_disk@Base 0.2.3
- ldm_partition_get_name@Base 0.2.3
- ldm_partition_get_size@Base 0.2.3
- ldm_partition_get_start@Base 0.2.3
- ldm_partition_get_type@Base 0.2.3
- ldm_volume_dm_create@Base 0.2.3
- ldm_volume_dm_get_device@Base 0.2.5
- ldm_volume_dm_get_name@Base 0.2.3
- ldm_volume_dm_remove@Base 0.2.3
- ldm_volume_get_chunk_size@Base 0.2.3
- ldm_volume_get_guid@Base 0.2.5
- ldm_volume_get_hint@Base 0.2.3
- ldm_volume_get_name@Base 0.2.3
- ldm_volume_get_partitions@Base 0.2.3
- ldm_volume_get_part_type@Base 0.2.3
- ldm_volume_get_size@Base 0.2.3
- ldm_volume_get_type@Base 0.2.3
- ldm_volume_get_voltype@Base 0.2.3
- ldm_volume_type_get_type@Base 0.2.3
-
diff -Nru libldm-0.2.5/debian/libldm-1.0-0t64.install 
libldm-0.2.5/debian/libldm-1.0-0t64.install
--- libldm-0.2.5/debian/libldm-1.0-0t64.install 1970-01-01 00:00:00.000000000 
+0000
+++ libldm-0.2.5/debian/libldm-1.0-0t64.install 2021-03-24 20:20:37.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*-*/lib*.so.*
diff -Nru libldm-0.2.5/debian/libldm-1.0-0t64.lintian-overrides 
libldm-0.2.5/debian/libldm-1.0-0t64.lintian-overrides
--- libldm-0.2.5/debian/libldm-1.0-0t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ libldm-0.2.5/debian/libldm-1.0-0t64.lintian-overrides       2024-02-28 
13:32:48.000000000 +0000
@@ -0,0 +1 @@
+libldm-1.0-0t64: package-name-doesnt-match-sonames libldm-1.0-0
diff -Nru libldm-0.2.5/debian/libldm-1.0-0t64.symbols 
libldm-0.2.5/debian/libldm-1.0-0t64.symbols
--- libldm-0.2.5/debian/libldm-1.0-0t64.symbols 1970-01-01 00:00:00.000000000 
+0000
+++ libldm-0.2.5/debian/libldm-1.0-0t64.symbols 2024-02-28 13:32:48.000000000 
+0000
@@ -0,0 +1,46 @@
+libldm-1.0.so.0 libldm-1.0-0t64 #MINVER#
+ (optional|regex)^_ 0
+ (optional|regex)^gpt_ 0
+ (optional|regex)^mbr_ 0
+ ldm_add@Base 0.2.3
+ ldm_add_fd@Base 0.2.3
+ ldm_disk_get_data_size@Base 0.2.3
+ ldm_disk_get_data_start@Base 0.2.3
+ ldm_disk_get_device@Base 0.2.3
+ ldm_disk_get_guid@Base 0.2.3
+ ldm_disk_get_metadata_size@Base 0.2.3
+ ldm_disk_get_metadata_start@Base 0.2.3
+ ldm_disk_get_name@Base 0.2.3
+ ldm_disk_get_type@Base 0.2.3
+ ldm_disk_group_get_disks@Base 0.2.3
+ ldm_disk_group_get_guid@Base 0.2.3
+ ldm_disk_group_get_name@Base 0.2.3
+ ldm_disk_group_get_partitions@Base 0.2.3
+ ldm_disk_group_get_type@Base 0.2.3
+ ldm_disk_group_get_volumes@Base 0.2.3
+ ldm_error_get_type@Base 0.2.3
+ ldm_error_quark@Base 0.2.3
+ ldm_get_disk_groups@Base 0.2.3
+ ldm_get_type@Base 0.2.3
+ ldm_new@Base 0.2.3
+ ldm_partition_dm_get_device@Base 0.2.5
+ ldm_partition_get_disk@Base 0.2.3
+ ldm_partition_get_name@Base 0.2.3
+ ldm_partition_get_size@Base 0.2.3
+ ldm_partition_get_start@Base 0.2.3
+ ldm_partition_get_type@Base 0.2.3
+ ldm_volume_dm_create@Base 0.2.3
+ ldm_volume_dm_get_device@Base 0.2.5
+ ldm_volume_dm_get_name@Base 0.2.3
+ ldm_volume_dm_remove@Base 0.2.3
+ ldm_volume_get_chunk_size@Base 0.2.3
+ ldm_volume_get_guid@Base 0.2.5
+ ldm_volume_get_hint@Base 0.2.3
+ ldm_volume_get_name@Base 0.2.3
+ ldm_volume_get_partitions@Base 0.2.3
+ ldm_volume_get_part_type@Base 0.2.3
+ ldm_volume_get_size@Base 0.2.3
+ ldm_volume_get_type@Base 0.2.3
+ ldm_volume_get_voltype@Base 0.2.3
+ ldm_volume_type_get_type@Base 0.2.3
+

Reply via email to