SHA256
1
0
forked from pool/php-imagick
php-imagick/imagick-reproducible.patch

27 lines
772 B
Diff

Index: imagick-3.4.3/imagick.c
===================================================================
--- imagick-3.4.3.orig/imagick.c
+++ imagick-3.4.3/imagick.c
@@ -3698,10 +3698,11 @@ PHP_MINIT_FUNCTION(imagick)
#endif
REGISTER_INI_ENTRIES();
-
+#if 0
if (!IMAGICK_G(skip_version_check)) {
checkImagickVersion();
}
+#endif
return SUCCESS;
}
@@ -3734,7 +3735,7 @@ PHP_MINFO_FUNCTION(imagick)
#else
php_info_print_table_row(2, "imagick classes", "Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator");
#endif
-#ifdef MagickVersion
+#if 0
php_info_print_table_row(2, "Imagick compiled with ImageMagick version", MagickVersion);
#endif
php_info_print_table_row(2, "Imagick using ImageMagick library version", MagickGetVersion(&version_number));