File xemacs-libpng15.patch of Package xemacs

Index: xemacs-21.5.31/glyphs-eimage.c
===================================================================
--- xemacs-21.5.31/src/glyphs-eimage.c
+++ xemacs-21.5.31/src/glyphs-eimage.c
@@ -911,7 +911,8 @@ png_instantiate (Lisp_Object image_insta
   Lisp_Image_Instance *ii = XIMAGE_INSTANCE (image_instance);
   struct png_unwind_data unwind;
   int speccount = specpdl_depth ();
-  int height, width;
+  png_uint_32 height, width;
+  int bit_depth, color_type;
   struct png_memory_storage tbr;  /* Data to be read */
 
   /* PNG variables */
openSUSE Build Service is sponsored by