Dr. Werner Fink 2014-05-09 07:39:13 +00:00 committed by Git OBS Bridge
parent 764c00acce
commit bfbe08ed35
2 changed files with 11 additions and 2 deletions

View File

@ -6,13 +6,16 @@
Index: emacs-24.3/src/image.c
===================================================================
--- emacs-24.3.orig/src/image.c
--- emacs-24.3/src/image.c
+++ emacs-24.3/src/image.c
@@ -7378,7 +7378,7 @@ gif_load (struct frame *f, struct image
@@ -7378,7 +7378,10 @@ gif_load (struct frame *f, struct image
}
/* Apply the pixel values. */
- if (gif->SavedImages[j].ImageDesc.Interlace)
+#ifndef GIFLIB_MAJOR
+# define GIFLIB_MAJOR 0
+#endif
+ if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
{
int row, pass;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 9 07:38:29 UTC 2014 - werner@suse.de
- Modify emacs-24.3-giflib5-interlace.patch in such a way that
it works with older giflibraries
-------------------------------------------------------------------
Thu May 8 11:59:32 UTC 2014 - werner@suse.de