File WindowMaker-png_check_sig.patch of Package WindowMaker

--- wrlib/load.c
+++ wrlib/load.c
@@ -348,7 +348,7 @@
 
 #ifdef USE_PNG
     /* check for PNG */
-    if (png_check_sig(buffer, 8))
+    if (!png_sig_cmp(buffer, 0, 8))
         return IM_PNG;
 #endif
 
openSUSE Build Service is sponsored by