ImageMagick/ImageMagick-library-installable-in-parallel.patch
Petr Gajdos 66a4daed16 - version update to 7.1.1.17
* upstream changelog:
  https://github.com/ImageMagick/Website/blob/main/ChangeLog.md#711-17---2023-09-19
- modified patches
  % ImageMagick-library-installable-in-parallel.patch (refreshed)
- follow upstream, create open, limited, secure and websafe alternative
  configuration packages with different policy.xml
  * CVE-2022-1115 [bsc#1198701]
  * CVE-2022-1114 [bsc#1198700]
  * CVE-2022-0284 [bsc#1195563]
  * CVE-2021-4219 [bsc#1196337]

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=666
2023-09-22 07:51:12 +00:00

16 lines
565 B
Diff

Index: ImageMagick-7.1.1-17/configure
===================================================================
--- ImageMagick-7.1.1-17.orig/configure
+++ ImageMagick-7.1.1-17/configure
@@ -34840,7 +34840,9 @@ fi
# Subdirectory to place architecture-dependent configuration files
-CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
+if test "x$CONFIGURE_RELATIVE_PATH" = "x"; then
+ CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
+fi
printf "%s\n" "#define CONFIGURE_RELATIVE_PATH \"$CONFIGURE_RELATIVE_PATH\"" >>confdefs.h