.
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=147
This commit is contained in:
parent
764c00acce
commit
bfbe08ed35
@ -6,13 +6,16 @@
|
|||||||
|
|
||||||
Index: emacs-24.3/src/image.c
|
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
|
+++ 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. */
|
/* Apply the pixel values. */
|
||||||
- if (gif->SavedImages[j].ImageDesc.Interlace)
|
- if (gif->SavedImages[j].ImageDesc.Interlace)
|
||||||
|
+#ifndef GIFLIB_MAJOR
|
||||||
|
+# define GIFLIB_MAJOR 0
|
||||||
|
+#endif
|
||||||
+ if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
|
+ if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
|
||||||
{
|
{
|
||||||
int row, pass;
|
int row, pass;
|
||||||
|
@ -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
|
Thu May 8 11:59:32 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user