diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-03 20:22:55 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-03 20:22:55 (GMT) |
commit | 435b126345ee80909cdcf4b37bd1eb3678a7f02c (patch) | |
tree | f60e265590bf8d358b1f6495022a6858d9288657 /abs/core/mplayer/giflib51.patch | |
parent | 9f0fbeeefc33b7f9d9a40e3d985717ff03f34f16 (diff) | |
download | linhes_pkgbuild-435b126345ee80909cdcf4b37bd1eb3678a7f02c.zip linhes_pkgbuild-435b126345ee80909cdcf4b37bd1eb3678a7f02c.tar.gz linhes_pkgbuild-435b126345ee80909cdcf4b37bd1eb3678a7f02c.tar.bz2 |
mplayer: update to 37224
Diffstat (limited to 'abs/core/mplayer/giflib51.patch')
-rw-r--r-- | abs/core/mplayer/giflib51.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core/mplayer/giflib51.patch b/abs/core/mplayer/giflib51.patch new file mode 100644 index 0000000..e884b39 --- /dev/null +++ b/abs/core/mplayer/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 */ |