From c9aaa2ff911ee95adca22bcd9264e8ecfa3d5149 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Jul 2023 08:52:39 +0100 Subject: gentoo auto-resync : 23:07:2023 - 08:52:38 --- ...ncompatible-pointer-to-integer-conversion.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch (limited to 'app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch') diff --git a/app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch b/app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch new file mode 100644 index 000000000000..220e37bb7f57 --- /dev/null +++ b/app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch @@ -0,0 +1,25 @@ +From: listout +Date: Mon, 17 Apr 2023 12:36:40 +0530 +Subject: [PATCH] Fix incompatible pointer to integer conversion + +transformation_null was initializing one of it's elements with NULL +which is zero type casted to void. Hence, instead of initializing with +NULL, now we are initializing that element with zero. + +Refer: https://bugs.gentoo.org/874675 + +Signed-off-by: listout +--- a/common/transformation_null.c ++++ b/common/transformation_null.c +@@ -81,7 +81,7 @@ null_decompress(Transformation *xform, struct tapebuf *tpbin, unsigned long *des + Transformation transformation_null = + { + 0, +- NULL, ++ 0, + "null", + 0, + &null_initialize, +-- +2.39.2 + -- cgit v1.2.3