Magellan Linux

Contents of /trunk/imlib2/patches/imlib2-1.4.5-giflib5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1877 - (show annotations) (download)
Wed Aug 15 16:50:10 2012 UTC (11 years, 8 months ago) by niro
File size: 672 byte(s)
-added patch to fix ftbfs with giflib5
1 diff -Naur imlib2-1.4.5/src/modules/loaders/loader_gif.c imlib2-1.4.5-magellan/src/modules/loaders/loader_gif.c
2 --- imlib2-1.4.5/src/modules/loaders/loader_gif.c 2011-04-16 00:05:28.000000000 +0200
3 +++ imlib2-1.4.5-magellan/src/modules/loaders/loader_gif.c 2012-08-15 20:47:39.471981143 +0200
4 @@ -20,6 +20,7 @@
5 int intjump[] = { 8, 8, 4, 2 };
6 int transp;
7 int fd;
8 + int ErrorCode;
9
10 done = 0;
11 rows = NULL;
12 @@ -36,7 +37,7 @@
13 #endif
14 if (fd < 0)
15 return 0;
16 - gif = DGifOpenFileHandle(fd);
17 + gif = DGifOpenFileHandle(fd, &ErrorCode);
18 if (!gif)
19 {
20 close(fd);