summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2009-01-13 21:52:35 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2009-01-13 21:52:35 +0000
commit351c6f465772be4bc172984a5520bd18620cb2f4 (patch)
treebd0c246085cb1dbee339bf177f806bbe2cb00a8e /app-admin/logrotate
parentBump kde to 4.1.4 (diff)
downloadgentoo-2-351c6f465772be4bc172984a5520bd18620cb2f4.tar.gz
gentoo-2-351c6f465772be4bc172984a5520bd18620cb2f4.tar.bz2
gentoo-2-351c6f465772be4bc172984a5520bd18620cb2f4.zip
re-add missed fbsd patch. Bug #254795
(Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r--app-admin/logrotate/ChangeLog8
-rw-r--r--app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch22
-rw-r--r--app-admin/logrotate/logrotate-3.7.7.ebuild5
3 files changed, 31 insertions, 4 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog
index eac94b72fe7f..048c4e997ae6 100644
--- a/app-admin/logrotate/ChangeLog
+++ b/app-admin/logrotate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/logrotate
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.73 2008/12/24 20:49:12 dang Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.74 2009/01/13 21:52:35 dang Exp $
+
+ 13 Jan 2009; Daniel Gryniewicz <dang@gentoo.org>
+ +files/logrotate-3.7.7-fbsd.patch, logrotate-3.7.7.ebuild:
+ re-add missed fbsd patch. Bug #254795
*logrotate-3.7.7 (24 Dec 2008)
diff --git a/app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch b/app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch
new file mode 100644
index 000000000000..3d42c17e5297
--- /dev/null
+++ b/app-admin/logrotate/files/logrotate-3.7.7-fbsd.patch
@@ -0,0 +1,22 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN logrotate-3.7.7.orig/config.c logrotate-3.7.7/config.c
+--- logrotate-3.7.7.orig/config.c 2008-05-09 03:28:59.000000000 -0400
++++ logrotate-3.7.7/config.c 2009-01-13 16:48:13.000000000 -0500
+@@ -1,5 +1,7 @@
+ #include <sys/queue.h>
++#ifndef NO_ALLOCA_H
+ #include <alloca.h>
++#endif /* NO_ALLOCA_H */
+ #include <ctype.h>
+ #include <dirent.h>
+ #include <errno.h>
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN logrotate-3.7.7.orig/logrotate.c logrotate-3.7.7/logrotate.c
+--- logrotate-3.7.7.orig/logrotate.c 2008-05-14 06:31:35.000000000 -0400
++++ logrotate-3.7.7/logrotate.c 2009-01-13 16:48:12.000000000 -0500
+@@ -1,5 +1,7 @@
+ #include <sys/queue.h>
++#ifndef NO_ALLOCA_H
+ #include <alloca.h>
++#endif /* NO_ALLOCA_H */
+ #include <ctype.h>
+ #include <dirent.h>
+ #include <errno.h>
diff --git a/app-admin/logrotate/logrotate-3.7.7.ebuild b/app-admin/logrotate/logrotate-3.7.7.ebuild
index a7c0963d8cc0..0152ef326ea3 100644
--- a/app-admin/logrotate/logrotate-3.7.7.ebuild
+++ b/app-admin/logrotate/logrotate-3.7.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.7.ebuild,v 1.1 2008/12/24 20:49:12 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.7.ebuild,v 1.2 2009/01/13 21:52:35 dang Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -36,6 +36,7 @@ src_unpack() {
epatch ${FILESDIR}/${P}-datehack.patch
epatch ${FILESDIR}/${P}-ignore-hidden.patch
epatch ${FILESDIR}/${P}-weekly.patch
+ epatch ${FILESDIR}/${P}-fbsd.patch
}
src_compile() {