From da6a52f691ef980bab92d003d5df8f463c623af8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Mar 2018 19:15:28 +0000 Subject: gentoo resync : 10.03.2018 --- .../logrotate/files/logrotate-3.14.0-ignore-hidden.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch (limited to 'app-admin/logrotate/files') diff --git a/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch new file mode 100644 index 000000000000..6745126259be --- /dev/null +++ b/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch @@ -0,0 +1,14 @@ +diff -Nuar a/config.c b/config.c +--- a/config.c 2018-03-09 17:47:08.000000000 +0100 ++++ b/config.c 2018-03-09 19:47:42.274696766 +0100 +@@ -440,7 +440,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