summaryrefslogtreecommitdiff
path: root/libre/mplayer-libre/giflib51.patch
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-17 15:22:38 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-17 15:22:38 +0200
commit743cef327818e999039e9acdd05e4a29d9c7657b (patch)
treee373db6133e26fcfbfa2bf002ec2130aa88dbe4a /libre/mplayer-libre/giflib51.patch
parent86be8715c24416657bfae0bc906b6d47f1ff3fde (diff)
parent9f678240c9b9134bbc9b20f309f3edde0fda8067 (diff)
downloadabslibre-743cef327818e999039e9acdd05e4a29d9c7657b.tar.gz
abslibre-743cef327818e999039e9acdd05e4a29d9c7657b.tar.bz2
abslibre-743cef327818e999039e9acdd05e4a29d9c7657b.zip
Merge branch 'master' of ssh://parabola-git/srv/git/abslibre/abslibre
Diffstat (limited to 'libre/mplayer-libre/giflib51.patch')
-rw-r--r--libre/mplayer-libre/giflib51.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/mplayer-libre/giflib51.patch b/libre/mplayer-libre/giflib51.patch
new file mode 100644
index 000000000..e884b39f1
--- /dev/null
+++ b/libre/mplayer-libre/giflib51.patch
@@ -0,0 +1,24 @@
+--- libvo/vo_gif89a.c.orig 2014-06-11 10:06:29.243216331 +0000
++++ libvo/vo_gif89a.c 2014-06-11 10:08:37.346078847 +0000
+@@ -75,6 +75,9 @@
+ #define MakeMapObject GifMakeMapObject
+ #define FreeMapObject GifFreeMapObject
+ #define QuantizeBuffer GifQuantizeBuffer
++#if defined GIFLIB_MINOR && GIFLIB_MINOR >= 1
++#define EGifCloseFile(a) EGifCloseFile(a, NULL)
++#endif
+ #endif
+
+ // how many frames per second we are aiming for during output.
+--- libmpdemux/demux_gif.c.orig 2014-06-11 10:46:48.120883788 +0000
++++ libmpdemux/demux_gif.c 2014-06-11 10:47:28.290732272 +0000
+@@ -50,6 +50,9 @@
+ #define DGifOpenFileHandle(a) DGifOpenFileHandle(a, NULL)
+ #define GifError() (gif ? gif->Error : 0)
+ #define GifErrorString() GifErrorString(gif->Error)
++#if defined GIFLIB_MINOR && GIFLIB_MINOR >= 1
++#define DGifCloseFile(a) DGifCloseFile(a, NULL)
++#endif
+ #endif
+
+ /* >= 4.2 prior GIFLIB did not have MAJOR/MINOR defines */