From 749df87304e0613d6472091580bd5842137c11cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 7 Mar 2012 20:36:42 +0000 Subject: [PATCH] Removing a patch not needed anymore, for vlc. svn path=/nixpkgs/trunk/; revision=32856 --- pkgs/applications/video/vlc/default.nix | 2 -- pkgs/applications/video/vlc/zlib.patch | 35 ------------------------- 2 files changed, 37 deletions(-) delete mode 100644 pkgs/applications/video/vlc/zlib.patch diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix index 43e41bd840d..bb78773e729 100644 --- a/pkgs/applications/video/vlc/default.nix +++ b/pkgs/applications/video/vlc/default.nix @@ -17,8 +17,6 @@ stdenv.mkDerivation rec { sha256 = "455fc04b5f7ce3d7294ed71a9dd172ff4eb97875cfc30b554ef4ce55ec6f5106"; }; - patches = [ ./zlib.patch ]; - buildInputs = [ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread libbluray dbus fribidi qt4 libvorbis libtheora speex lua5 libgcrypt diff --git a/pkgs/applications/video/vlc/zlib.patch b/pkgs/applications/video/vlc/zlib.patch deleted file mode 100644 index b94f7de9332..00000000000 --- a/pkgs/applications/video/vlc/zlib.patch +++ /dev/null @@ -1,35 +0,0 @@ -From https://401629.bugs.gentoo.org/attachment.cgi?id=300539 -Fix building VLC against zlib 1.2.6. - -http://bugs.gentoo.org/401629 -http://trac.videolan.org/vlc/ticket/5964 - ---- a/modules/gui/skins2/src/theme_loader.cpp -+++ b/modules/gui/skins2/src/theme_loader.cpp -@@ -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; - }