Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xrmap/files: xrmap-2.33-zlib.patch
Date: Sat, 28 Dec 2013 00:10:01
Message-Id: 20131228000958.4DB082001A@flycatcher.gentoo.org
1 robbat2 13/12/28 00:09:58
2
3 Added: xrmap-2.33-zlib.patch
4 Log:
5 Bug #426206: compile-fix for newer zlib & GCC.
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 x11-misc/xrmap/files/xrmap-2.33-zlib.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xrmap/files/xrmap-2.33-zlib.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xrmap/files/xrmap-2.33-zlib.patch?rev=1.1&content-type=text/plain
14
15 Index: xrmap-2.33-zlib.patch
16 ===================================================================
17 --- xrmap-2.33.orig/earthview/earthview.c 2005-07-12 06:56:41.000000000 -0700
18 +++ xrmap-2.33/earthview/earthview.c 2013-12-27 15:59:14.068667773 -0800
19 @@ -96,7 +96,7 @@
20 char *data_file = NULL;
21 char *cps_file, *cps_dir;
22 FILE *fd = NULL;
23 -gzFile *gzd = NULL;
24 +gzFile gzd = NULL;
25
26 /* Predefined color schemes */
27 /* You can of course add as many as you like... */
28 @@ -212,7 +212,7 @@
29 return n;
30 }
31
32 -int ngzread(gzFile *gzd)
33 +int ngzread(gzFile gzd)
34 {
35 unsigned char c;
36 int n;