Gentoo Archives: gentoo-commits

From: "Daniel Gryniewicz (dang)" <dang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/logrotate/files: logrotate-3.7.7-fbsd.patch
Date: Tue, 13 Jan 2009 21:52:38
Message-Id: E1LMrBb-0004Jl-SM@stork.gentoo.org
1 dang 09/01/13 21:52:35
2
3 Added: logrotate-3.7.7-fbsd.patch
4 Log:
5 re-add missed fbsd patch. Bug #254795
6 (Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo x86_64)
7
8 Revision Changes Path
9 1.1 app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch?rev=1.1&content-type=text/plain
13
14 Index: logrotate-3.7.7-fbsd.patch
15 ===================================================================
16 diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN logrotate-3.7.7.orig/config.c logrotate-3.7.7/config.c
17 --- logrotate-3.7.7.orig/config.c 2008-05-09 03:28:59.000000000 -0400
18 +++ logrotate-3.7.7/config.c 2009-01-13 16:48:13.000000000 -0500
19 @@ -1,5 +1,7 @@
20 #include <sys/queue.h>
21 +#ifndef NO_ALLOCA_H
22 #include <alloca.h>
23 +#endif /* NO_ALLOCA_H */
24 #include <ctype.h>
25 #include <dirent.h>
26 #include <errno.h>
27 diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN logrotate-3.7.7.orig/logrotate.c logrotate-3.7.7/logrotate.c
28 --- logrotate-3.7.7.orig/logrotate.c 2008-05-14 06:31:35.000000000 -0400
29 +++ logrotate-3.7.7/logrotate.c 2009-01-13 16:48:12.000000000 -0500
30 @@ -1,5 +1,7 @@
31 #include <sys/queue.h>
32 +#ifndef NO_ALLOCA_H
33 #include <alloca.h>
34 +#endif /* NO_ALLOCA_H */
35 #include <ctype.h>
36 #include <dirent.h>
37 #include <errno.h>