From 1a4cedf06245ba8adc062196d17b3dc5c78b4e1a Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 15 Jan 2026 10:48:45 +0300 Subject: [PATCH] imagemagick ver. bump --- .../graphics/imagemagick/files/libraw-0.22.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 multimedia/graphics/imagemagick/files/libraw-0.22.patch diff --git a/multimedia/graphics/imagemagick/files/libraw-0.22.patch b/multimedia/graphics/imagemagick/files/libraw-0.22.patch new file mode 100644 index 0000000000..7f8a348174 --- /dev/null +++ b/multimedia/graphics/imagemagick/files/libraw-0.22.patch @@ -0,0 +1,13 @@ +diff --git a/coders/dng.c b/coders/dng.c +index 29ef3a799..673852510 100644 +--- a/coders/dng.c ++++ b/coders/dng.c +@@ -332,7 +332,7 @@ static void SetLibRawParams(const ImageInfo *image_info,Image *image, + } + + static void LibRawDataError(void *data,const char *magick_unused(file), +-#if defined(MAGICK_LIBRAW_VERSION_TAIL) && MAGICK_LIBRAW_VERSION_TAIL == 202502 ++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,22) || (defined(MAGICK_LIBRAW_VERSION_TAIL) && MAGICK_LIBRAW_VERSION_TAIL == 202502) + const INT64 offset) + #else + const int offset)