Control: tags 1097224 + patch
Control: tags 1097224 + pending

Dear maintainer,

Given that this package is now marked for autoremoval from testing due
to this bug I've prepared an NMU for libldm (versioned as 0.2.5-1.2) and
intend to upload it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Cheers,
Flo
diff -Nru libldm-0.2.5/debian/changelog libldm-0.2.5/debian/changelog
--- libldm-0.2.5/debian/changelog	2024-02-28 14:32:55.000000000 +0100
+++ libldm-0.2.5/debian/changelog	2025-09-15 19:24:50.000000000 +0200
@@ -1,3 +1,10 @@
+libldm (0.2.5-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/ftbfs_with_GCC-15.patch (Closes: #1097224)
+
+ -- Florian Ernst <[email protected]>  Mon, 15 Sep 2025 19:24:50 +0200
+
 libldm (0.2.5-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libldm-0.2.5/debian/patches/ftbfs_with_GCC-15.patch libldm-0.2.5/debian/patches/ftbfs_with_GCC-15.patch
--- libldm-0.2.5/debian/patches/ftbfs_with_GCC-15.patch	1970-01-01 01:00:00.000000000 +0100
+++ libldm-0.2.5/debian/patches/ftbfs_with_GCC-15.patch	2025-09-15 19:24:25.000000000 +0200
@@ -0,0 +1,44 @@
+Description: Fix ftbfs with GCC-15
+Author: rwmjones
+Origin: https://github.com/mdbooth/libldm/commit/f0321d8e8dab69780b9baffb54b9336ee8df8d41
+Bug-Debian: http://bugs.debian.org/1097224
+
+Index: libldm-0.2.5/src/ldm.c
+===================================================================
+--- libldm-0.2.5.orig/src/ldm.c
++++ libldm-0.2.5/src/ldm.c
+@@ -2351,7 +2351,7 @@ error:
+ }
+ 
+ LDM *
+-ldm_new()
++ldm_new(void)
+ {
+     LDM *ldm = LDM_CAST(g_object_new(LDM_TYPE, NULL));
+     ldm->priv->disk_groups = g_array_sized_new(FALSE, FALSE,
+Index: libldm-0.2.5/src/ldm.h
+===================================================================
+--- libldm-0.2.5.orig/src/ldm.h
++++ libldm-0.2.5/src/ldm.h
+@@ -254,7 +254,7 @@ GType ldm_disk_group_get_type(void);
+  *
+  * Returns: (transfer full): a new #LDM object
+  */
+-LDM *ldm_new();
++LDM *ldm_new(void);
+ 
+ /**
+  * ldm_add:
+Index: libldm-0.2.5/src/ldmtool.c
+===================================================================
+--- libldm-0.2.5.orig/src/ldmtool.c
++++ libldm-0.2.5/src/ldmtool.c
+@@ -815,7 +815,7 @@ main(int argc, char *argv[])
+     g_type_init();
+ #endif
+ 
+-    LDM * const ldm = ldm_new(&err);
++    LDM * const ldm = ldm_new();
+ 
+     int ret = 0;
+ 
diff -Nru libldm-0.2.5/debian/patches/series libldm-0.2.5/debian/patches/series
--- libldm-0.2.5/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libldm-0.2.5/debian/patches/series	2025-09-15 19:21:44.000000000 +0200
@@ -0,0 +1 @@
+ftbfs_with_GCC-15.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to