Control: tags -1 + patch
The attached patches were applied in Ubuntu.
Description: hlink.c: fix function pointer cast in qsort()
Origin: upstream, https://github.com/backuppc/rsync-bpc/commit/6466b0b0c537d135cf10fecb598bfd6d40194e37
Bug-Debian: https://bugs.debian.org/1096354
Author: Dennis Eisele <[email protected]>
Last-Update: 2025-07-06
--- a/hlink.c
+++ b/hlink.c
@@ -121,7 +121,7 @@
int32 gnum, gnum_next;
qsort(ndx_list, ndx_count, sizeof ndx_list[0],
- (int (*)()) hlink_compare_gnum);
+ (int (*)(const void*, const void*)) hlink_compare_gnum);
if ( inc_recurse && prior_hlinks && hlink_nlinks ) {
for (from = 0; from < ndx_count; from++) {
Description: pool_alloc: fix build with gcc-15
Forwarded: https://github.com/backuppc/rsync-bpc/pull/49
Bug-Debian: https://bugs.debian.org/1096354
Author: Martin Jansa <[email protected]>
Last-Update: 2025-08-18
--- a/lib/pool_alloc.c
+++ b/lib/pool_alloc.c
@@ -9,7 +9,7 @@
size_t size; /* extent size */
size_t quantum; /* allocation quantum */
struct pool_extent *extents; /* top extent is "live" */
- void (*bomb)(); /* function to call if
+ void (*bomb)(const char *); /* function to call if
* malloc fails */
int flags;