From 49280b6dc51df4c4a73c27df24a38f8515fd4cf8 Mon Sep 17 00:00:00 2001 From: Chema Alonso Josa Date: Thu, 1 Feb 2018 21:40:05 +0100 Subject: app-admin/logrotate: Drops old version 3.12.3 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- .../logrotate/files/logrotate-3.12.3-fbsd.patch | 36 ---------------------- .../files/logrotate-3.12.3-ignore-hidden.patch | 14 --------- 2 files changed, 50 deletions(-) delete mode 100644 app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch (limited to 'app-admin/logrotate/files') diff --git a/app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch b/app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch deleted file mode 100644 index 67a60e3af177..000000000000 --- a/app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2017-04-22 23:46:08.201991730 +0200 -+++ b/config.c 2017-04-22 23:49:43.021996055 +0200 -@@ -25,6 +25,10 @@ - #include - #include - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - -diff -Nuar a/logrotate.c b/logrotate.c ---- a/logrotate.c 2017-04-21 10:52:10.000000000 +0200 -+++ b/logrotate.c 2017-04-22 23:50:20.691996814 +0200 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* alloca() is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -27,6 +27,10 @@ - #include - #endif - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - diff --git a/app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch deleted file mode 100644 index 0bbb91dcb4fc..000000000000 --- a/app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2017-04-18 14:57:02.000000000 +0200 -+++ b/config.c 2017-04-22 23:46:08.201991730 +0200 -@@ -389,7 +389,9 @@ - int i; - - /* Check if fname is '.' or '..'; if so, return false */ -- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) -+ /* Don't include 'hidden' files either; this breaks Gentoo -+ portage config file management http://bugs.gentoo.org/87683 */ -+ if (fname[0] == '.') - return 0; - - /* Check if fname is ending in a taboo-extension; if so, return false */ -- cgit v1.2.3-65-gdbad