Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/grace/files: grace-5.1.21-netcdf.patch grace-5.1.21-m4-netcdf.patch
Date: Mon, 23 Jun 2008 08:26:00
Message-Id: E1KAhN4-000715-AM@stork.gentoo.org
1 bicatali 08/06/23 08:25:54
2
3 Added: grace-5.1.21-netcdf.patch
4 Removed: grace-5.1.21-m4-netcdf.patch
5 Log:
6 Fixed netcdf support (bug #228943)
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 sci-visualization/grace/files/grace-5.1.21-netcdf.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/grace/files/grace-5.1.21-netcdf.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/grace/files/grace-5.1.21-netcdf.patch?rev=1.1&content-type=text/plain
14
15 Index: grace-5.1.21-netcdf.patch
16 ===================================================================
17 --- configure.orig 2007-02-16 22:44:49.000000000 +0000
18 +++ configure 2007-09-28 23:03:29.000000000 +0100
19 @@ -15181,7 +15181,7 @@
20 int main(void) {
21 char *vlib;
22 vlib = nc_inq_libvers();
23 - if (strcmp(vlib, "3.0") < 0) {
24 + if (((vlib[0] == '"') && (strcmp(vlib, "\"3.0") < 0)) || ((vlib[0] != '"') && (strcmp(vlib, "3.0") < 0))){
25 exit(1);
26 }
27 exit(0);
28
29
30
31 --
32 gentoo-commits@l.g.o mailing list