Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/pavuk/files: pavuk-0.9.34-gcc43.patch
Date: Fri, 03 Apr 2009 14:54:58
Message-Id: E1LpknI-0000ed-GP@stork.gentoo.org
1 patrick 09/04/03 14:54:56
2
3 Added: pavuk-0.9.34-gcc43.patch
4 Log:
5 Gcc 4.3.3 compile fix, thanks to Magnus Granberg. Closes #259699
6 (Portage version: 2.2_rc28/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/pavuk/files/pavuk-0.9.34-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/pavuk/files/pavuk-0.9.34-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/pavuk/files/pavuk-0.9.34-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: pavuk-0.9.34-gcc43.patch
15 ===================================================================
16 --- src/tools.c 2005-10-26 07:02:34.000000000 +0000
17 +++ src/tools.c 2009-03-05 01:57:03.000000000 +0000
18 @@ -1723,7 +1723,7 @@
19 if(length < 0)
20 length = strlen(content);
21
22 - if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC), 0644) < 0)
23 + if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644), 0644) < 0)
24 {
25 xperror(filename);
26 return -1;