summaryrefslogtreecommitdiffstats
path: root/0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-01-01 09:30:03 +0100
committerRemi Collet <remi@php.net>2024-01-01 09:30:03 +0100
commit4d7096749088f17bb32aacbcc857d34425327997 (patch)
treede1379d51ae9d0855fb590e2543f725907b62c2c /0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch
parent74603431d05d6ea84207e4ae99cecdec1bf1fc5f (diff)
update to version 6.9.13 patch level 3
add build patch from https://github.com/ImageMagick/ImageMagick6/pull/301
Diffstat (limited to '0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch')
-rw-r--r--0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch b/0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch
new file mode 100644
index 0000000..7768991
--- /dev/null
+++ b/0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch
@@ -0,0 +1,25 @@
+From 1226c5f394f644ed7e73f3c39fa48553388de48b Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 1 Jan 2024 09:00:14 +0100
+Subject: [PATCH] fix error: 'libraw_data_t' has no member named 'rawparams'
+
+---
+ coders/dng.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/coders/dng.c b/coders/dng.c
+index 55a1ca9a5..0a1eec8ea 100644
+--- a/coders/dng.c
++++ b/coders/dng.c
+@@ -327,7 +327,7 @@ static void SetLibRawParams(const ImageInfo *image_info,Image *image,
+ const char
+ *option;
+
+-#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,20)
++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,21)
+ raw_info->rawparams.max_raw_memory_mb=8192;
+ option=GetImageOption(image_info,"dng:max-raw-memory");
+ if (option != (const char *) NULL)
+--
+2.43.0
+