diff options
Diffstat (limited to 'media-gfx/dcraw/files/dcraw-9.28.0-fix-memmem-wrong-return-type.patch')
-rw-r--r-- | media-gfx/dcraw/files/dcraw-9.28.0-fix-memmem-wrong-return-type.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-gfx/dcraw/files/dcraw-9.28.0-fix-memmem-wrong-return-type.patch b/media-gfx/dcraw/files/dcraw-9.28.0-fix-memmem-wrong-return-type.patch new file mode 100644 index 000000000000..93f299e4d2aa --- /dev/null +++ b/media-gfx/dcraw/files/dcraw-9.28.0-fix-memmem-wrong-return-type.patch @@ -0,0 +1,17 @@ +Memmem returns void* + +# Pascal Jäger <pascal.jaeger@leimstift.de> (2023-09-22) + +Bug: https://bugs.gentoo.org/911753 + +--- a/parse.c ++++ b/parse.c +@@ -965,7 +965,7 @@ void parse_phase_one (int base) + } + } + +-char *memmem (char *haystack, size_t haystacklen, ++void *memmem (char *haystack, size_t haystacklen, + char *needle, size_t needlelen) + { + char *c; |