megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
comparison media-libs/xine-lib/files/xine-lib-1.1.20-zlib-1.2.5.2.patch @ 25:d0b03ba8efdd
media-libs/xine-lib-1.1.20 imported from official repository (deleted files), patch added for zlib
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Thu, 11 Oct 2012 16:24:24 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
24:cb6c2ef24667 | 25:d0b03ba8efdd |
---|---|
1 1.2.0 patch applied to 1.1.20 | |
2 https://bugs.gentoo.org/show_bug.cgi?id=401449 | |
3 | |
4 --- xine-lib-1.1.20-orig/src/xine-engine/osd.c | |
5 +++ xine-lib-1.1.20/src/xine-engine/osd.c | |
6 @@ -650,7 +650,7 @@ | |
7 osd->display_y = y; | |
8 } | |
9 | |
10 -static uint16_t gzread_i16(gzFile *fp) { | |
11 +static uint16_t gzread_i16(gzFile fp) { | |
12 uint16_t ret; | |
13 ret = gzgetc(fp); | |
14 ret |= (gzgetc(fp)<<8); | |
15 @@ -663,7 +663,7 @@ | |
16 | |
17 static int osd_renderer_load_font(osd_renderer_t *this, char *filename) { | |
18 | |
19 - gzFile *fp; | |
20 + gzFile fp; | |
21 osd_font_t *font = NULL; | |
22 int i, ret = 0; | |
23 | |
24 --- xine-lib-1.1.20-orig/misc/xine-fontconv.c | |
25 +++ xine-lib-1.1.20/misc/xine-fontconv.c | |
26 @@ -109,7 +109,7 @@ | |
27 osd_font_t font; | |
28 | |
29 | |
30 -static int gzwrite_i16(gzFile *fp, uint16_t number) { | |
31 +static int gzwrite_i16(gzFile fp, uint16_t number) { | |
32 return gzputc(fp, number & 0xFF) != -1 && | |
33 gzputc(fp, (number >> 8) & 0xFF) != -1; | |
34 } | |
35 @@ -341,7 +341,7 @@ | |
36 | |
37 char filename[1024]; | |
38 FT_Bitmap *out_bitmap; | |
39 - gzFile *fp; | |
40 + gzFile fp; | |
41 int error; | |
42 int error_counter; | |
43 int glyph_index; |