Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-embedded/ponyprog/files: ponyprog-2.07a-gcc43.patch
Date: Sat, 20 Jun 2009 11:50:46
Message-Id: E1MHz5o-00085l-0d@stork.gentoo.org
1 vapier 09/06/20 11:50:44
2
3 Modified: ponyprog-2.07a-gcc43.patch
4 Log:
5 Fix up build errors with fortify source #264395 by Diego E. Pettenò.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch?r1=1.1&r2=1.2
14
15 Index: ponyprog-2.07a-gcc43.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ponyprog-2.07a-gcc43.patch 20 Jun 2008 20:24:45 -0000 1.1
22 +++ ponyprog-2.07a-gcc43.patch 20 Jun 2009 11:50:43 -0000 1.2
23 @@ -42,3 +42,14 @@
24
25 ++_instances; // bump reference counter
26 }
27 +--- a/rs232int.cpp
28 ++++ b/rs232int.cpp
29 +@@ -145,7 +145,7 @@ int RS232Interface::OpenSerial(int no)
30 + snprintf(lockname, MAXPATH, LOCK_DIR "/LCK..ttyS%d", no);
31 + UserDebug1(UserApp2, "RS232Interface::OpenSerial() now lock the device %s\n", lockname);
32 +
33 +- fd = open ((const char *)lockname,O_RDWR|O_EXCL|O_CREAT);
34 ++ fd = open ((const char *)lockname,O_RDWR|O_EXCL|O_CREAT,0664);
35 + if (fd < 0)
36 + {
37 + fd = open ((const char *)lockname,O_RDONLY);