[packages/perl-File-RsyncP] add more type fixes
atler
atler at pld-linux.org
Mon Aug 17 19:21:20 CEST 2026
commit bc62cbfd537422e3eb40c772bf64f54e06ac4d99
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Aug 17 19:20:31 2026 +0200
add more type fixes
types.patch | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
---
diff --git a/types.patch b/types.patch
index 3e8823a..efe09cf 100644
--- a/types.patch
+++ b/types.patch
@@ -17,3 +17,36 @@
#endif
/* Starting from protocol version 26, we always use 64-bit
+--- File-RsyncP-0.70/FileList/flist.c.orig 2010-07-25 22:50:02.000000000 +0200
++++ File-RsyncP-0.70/FileList/flist.c 2026-08-17 19:18:36.816411006 +0200
+@@ -859,7 +859,7 @@
+ return;
+
+ qsort(flist->files, flist->count,
+- sizeof flist->files[0], (int (*)())file_compare);
++ sizeof flist->files[0], (int (*)(const void*, const void*))file_compare);
+
+ for (i = no_dups? 0 : flist->count; i < flist->count; i++) {
+ if (flist->files[i]->basename) {
+--- File-RsyncP-0.70/FileList/hlink.c.orig 2010-07-25 22:50:02.000000000 +0200
++++ File-RsyncP-0.70/FileList/hlink.c 2026-08-17 19:19:13.196163937 +0200
+@@ -127,7 +127,7 @@
+ }
+
+ qsort(hlink_list, hlink_count,
+- sizeof hlink_list[0], (int (*)()) hlink_compare);
++ sizeof hlink_list[0], (int (*)(const void*, const void*)) hlink_compare);
+
+ if (!hlink_count) {
+ free(hlink_list);
+--- File-RsyncP-0.70/FileList/pool_alloc.c.orig 2010-07-25 22:50:02.000000000 +0200
++++ File-RsyncP-0.70/FileList/pool_alloc.c 2026-08-17 19:19:30.632712857 +0200
+@@ -9,7 +9,7 @@
+ struct pool_extent *live; /* current extent for
+ * allocations */
+ struct pool_extent *free; /* unfreed extent list */
+- void (*bomb)();
++ void (*bomb)(char*);
+ /* function to call if
+ * malloc fails */
+ int flags;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-File-RsyncP.git/commitdiff/bc62cbfd537422e3eb40c772bf64f54e06ac4d99
More information about the pld-cvs-commit
mailing list