Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/incron/files: incron-0.5.8-gcc44.patch
Date: Thu, 30 Jul 2009 11:41:00
Message-Id: E1MWU0I-0007kL-BX@stork.gentoo.org
1 ssuominen 09/07/30 11:40:58
2
3 Added: incron-0.5.8-gcc44.patch
4 Log:
5 Fix building with GCC 4.4 and GLIBC 2.10+ wrt #277175.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-process/incron/files/incron-0.5.8-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/incron/files/incron-0.5.8-gcc44.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/incron/files/incron-0.5.8-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: incron-0.5.8-gcc44.patch
15 ===================================================================
16 diff -ur incron-0.5.8.orig/appargs.cpp incron-0.5.8/appargs.cpp
17 --- incron-0.5.8.orig/appargs.cpp 2008-12-29 18:31:09.000000000 +0200
18 +++ incron-0.5.8/appargs.cpp 2009-07-30 14:40:39.000000000 +0300
19 @@ -19,6 +19,7 @@
20 *
21 */
22
23 +#include <stdio.h>
24
25 #include <cstring>
26
27 diff -ur incron-0.5.8.orig/icd-main.cpp incron-0.5.8/icd-main.cpp
28 --- incron-0.5.8.orig/icd-main.cpp 2008-12-29 18:31:09.000000000 +0200
29 +++ incron-0.5.8/icd-main.cpp 2009-07-30 14:38:36.000000000 +0300
30 @@ -13,6 +13,7 @@
31 *
32 */
33
34 +#include <stdio.h>
35 #include <map>
36 #include <signal.h>
37 #include <wait.h>
38 diff -ur incron-0.5.8.orig/incroncfg.cpp incron-0.5.8/incroncfg.cpp
39 --- incron-0.5.8.orig/incroncfg.cpp 2008-12-29 18:31:09.000000000 +0200
40 +++ incron-0.5.8/incroncfg.cpp 2009-07-30 14:41:31.000000000 +0300
41 @@ -181,7 +181,7 @@
42
43 bool IncronCfg::IsComment(const char* s)
44 {
45 - char* sx = strchr(s, '#');
46 + const char* sx = strchr(s, '#');
47 if (sx == NULL)
48 return false;
49
50 diff -ur incron-0.5.8.orig/inotify-cxx.cpp incron-0.5.8/inotify-cxx.cpp
51 --- incron-0.5.8.orig/inotify-cxx.cpp 2008-12-29 18:31:09.000000000 +0200
52 +++ incron-0.5.8/inotify-cxx.cpp 2009-07-30 14:39:06.000000000 +0300
53 @@ -19,7 +19,7 @@
54 *
55 */
56
57 -
58 +#include <stdio.h>
59 #include <errno.h>
60 #include <unistd.h>
61 #include <fcntl.h>
62 diff -ur incron-0.5.8.orig/usertable.cpp incron-0.5.8/usertable.cpp
63 --- incron-0.5.8.orig/usertable.cpp 2008-12-29 18:31:09.000000000 +0200
64 +++ incron-0.5.8/usertable.cpp 2009-07-30 14:38:50.000000000 +0300
65 @@ -16,7 +16,7 @@
66 *
67 */
68
69 -
70 +#include <stdio.h>
71 #include <pwd.h>
72 #include <syslog.h>
73 #include <errno.h>