From 7e050588a050e47fef2702770ad2cb41cfc1cab6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 10 Feb 2012 09:24:19 +0100 Subject: [PATCH] vlc: added patch to make it build with zlib-1.2.6. --- .../vlc-1.1.13-skin2_theme_loader.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/vlc/patches/vlc-1.1.13-skin2_theme_loader.patch diff --git a/srcpkgs/vlc/patches/vlc-1.1.13-skin2_theme_loader.patch b/srcpkgs/vlc/patches/vlc-1.1.13-skin2_theme_loader.patch new file mode 100644 index 0000000000..d488a8ee40 --- /dev/null +++ b/srcpkgs/vlc/patches/vlc-1.1.13-skin2_theme_loader.patch @@ -0,0 +1,29 @@ +--- modules/gui/skins2/src/theme_loader.cpp 2012-02-02 17:52:07.000000000 +0100 ++++ modules/gui/skins2/src/theme_loader.cpp 2012-02-02 17:52:19.000000000 +0100 +@@ -768,7 +768,7 @@ + { + void *toClose = currentGzVp; + currentGzVp = NULL; currentGzFd = -1; +- return gzclose( toClose ); ++ return gzclose( (gzFile) toClose ); + } + return -1; + } +@@ -777,7 +777,7 @@ + { + if( currentGzVp != NULL && fd != -1 ) + { +- return gzread( currentGzVp, p_buffer, i_length ); ++ return gzread( (gzFile) currentGzVp, p_buffer, i_length ); + } + return -1; + } +@@ -786,7 +786,7 @@ + { + if( currentGzVp != NULL && fd != -1 ) + { +- return gzwrite( currentGzVp, const_cast(p_buffer), i_length ); ++ return gzwrite( (gzFile) currentGzVp, const_cast(p_buffer), i_length ); + } + return -1; + }