File imagick-reproducible.patch of Package php84-imagick

Index: imagick-3.4.3/imagick.c
===================================================================
--- imagick-3.4.3.orig/imagick.c
+++ imagick-3.4.3/imagick.c
@@ -3897,10 +3897,11 @@ PHP_MINIT_FUNCTION(imagick)
 #endif
 
 	REGISTER_INI_ENTRIES();
-
+#if 0
 	if (!IMAGICK_G(skip_version_check)) {
 		checkImagickVersion();
 	}
+#endif
 
 	return SUCCESS;
 }
@@ -3933,7 +3934,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));
openSUSE Build Service is sponsored by