Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/vlc/1.1-git: 360_all_zlib126.patch series
Date: Wed, 01 Feb 2012 13:50:58
Message-Id: 20120201135046.C988C2004B@flycatcher.gentoo.org
1 aballier 12/02/01 13:50:46
2
3 Modified: series
4 Added: 360_all_zlib126.patch
5 Log:
6 backport upstream patch to fix build with latest zlib, bug #401629
7
8 Revision Changes Path
9 1.7 src/patchsets/vlc/1.1-git/series
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/vlc/1.1-git/series?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/vlc/1.1-git/series?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/vlc/1.1-git/series?r1=1.6&r2=1.7
14
15 Index: series
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/vlc/1.1-git/series,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- series 21 Dec 2011 11:58:30 -0000 1.6
22 +++ series 1 Feb 2012 13:50:46 -0000 1.7
23 @@ -3,3 +3,4 @@
24 300_all_pic.patch
25 320_all_cachegen.patch
26 350_all_pulseaudio_automagic.patch
27 +360_all_zlib126.patch
28
29
30
31 1.1 src/patchsets/vlc/1.1-git/360_all_zlib126.patch
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/vlc/1.1-git/360_all_zlib126.patch?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/vlc/1.1-git/360_all_zlib126.patch?rev=1.1&content-type=text/plain
35
36 Index: 360_all_zlib126.patch
37 ===================================================================
38 commit 18173044cdaa1fce6652614b893054d792f4e258
39 Author: Jean-Baptiste Kempf <jb@××××××××.org>
40 Date: Tue Jan 31 12:53:38 2012 +0100
41
42 Skins: fix compilation with zlib 1.2.6
43
44 Close #5964
45
46 Index: vlc-1.1/modules/gui/skins2/src/theme_loader.cpp
47 ===================================================================
48 --- vlc-1.1.orig/modules/gui/skins2/src/theme_loader.cpp
49 +++ vlc-1.1/modules/gui/skins2/src/theme_loader.cpp
50 @@ -768,7 +768,7 @@ int gzclose_frontend( int fd )
51 {
52 void *toClose = currentGzVp;
53 currentGzVp = NULL; currentGzFd = -1;
54 - return gzclose( toClose );
55 + return gzclose( (gzFile) toClose );
56 }
57 return -1;
58 }
59 @@ -777,7 +777,7 @@ int gzread_frontend( int fd, void *p_buf
60 {
61 if( currentGzVp != NULL && fd != -1 )
62 {
63 - return gzread( currentGzVp, p_buffer, i_length );
64 + return gzread( (gzFile) currentGzVp, p_buffer, i_length );
65 }
66 return -1;
67 }
68 @@ -786,7 +786,7 @@ int gzwrite_frontend( int fd, const void
69 {
70 if( currentGzVp != NULL && fd != -1 )
71 {
72 - return gzwrite( currentGzVp, const_cast<void*>(p_buffer), i_length );
73 + return gzwrite( (gzFile) currentGzVp, const_cast<void*>(p_buffer), i_length );
74 }
75 return -1;
76 }