diff options
author | 2023-06-19 18:22:25 +0000 | |
---|---|---|
committer | 2023-06-19 21:42:02 +0100 | |
commit | fb2611695e556262a52a3e1f64105844f225a925 (patch) | |
tree | 09319b9ce92d1f1035676d0bd4312fa937477f69 /games-util/dzip/files | |
parent | net-wireless/hostapd: moving ax support to 2.10-r1 (diff) | |
download | gentoo-fb2611695e556262a52a3e1f64105844f225a925.tar.gz gentoo-fb2611695e556262a52a3e1f64105844f225a925.tar.bz2 gentoo-fb2611695e556262a52a3e1f64105844f225a925.zip |
games-util/dzip: Fix incompatible function pointer types passing int
Closes: https://bugs.gentoo.org/884923
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31545
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-util/dzip/files')
-rw-r--r-- | games-util/dzip/files/dzip-clang16-build-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-util/dzip/files/dzip-clang16-build-fix.patch b/games-util/dzip/files/dzip-clang16-build-fix.patch new file mode 100644 index 000000000000..d16c6beb182c --- /dev/null +++ b/games-util/dzip/files/dzip-clang16-build-fix.patch @@ -0,0 +1,14 @@ +Bug: https://bugs.gentoo.org/884923 +--- a/delete.c ++++ b/delete.c +@@ -1,8 +1,8 @@ + #include "dzip.h"
+
+-int intcmp (const uInt *arg1, const uInt *arg2)
++int intcmp (const void *arg1, const void *arg2)
+ {
+- if (*arg1 < *arg2) return -1;
++ if (*(uInt *)arg1 < *(uInt *)arg2) return -1;
+ return 1;
+ }
+
|