summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-11 23:39:15 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-11 23:40:45 -0400
commitc33b760cccb8a4167f6ea3c02cb0d7756125e8c3 (patch)
treeefb3a17a0a51afca30b682bb311859542bbef3b3 /app-admin/logrotate/files
parentprofiles: Temporarily mask x11-misc/slim[consolekit] (diff)
downloadgentoo-c33b760cccb8a4167f6ea3c02cb0d7756125e8c3.tar.gz
gentoo-c33b760cccb8a4167f6ea3c02cb0d7756125e8c3.tar.bz2
gentoo-c33b760cccb8a4167f6ea3c02cb0d7756125e8c3.zip
app-admin/logrotate: add LFS support #559572
This way we properly handle 2GiB+ log files.
Diffstat (limited to 'app-admin/logrotate/files')
-rw-r--r--app-admin/logrotate/files/logrotate-3.9.1-lfs.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/logrotate/files/logrotate-3.9.1-lfs.patch b/app-admin/logrotate/files/logrotate-3.9.1-lfs.patch
new file mode 100644
index 000000000000..57449d0f657b
--- /dev/null
+++ b/app-admin/logrotate/files/logrotate-3.9.1-lfs.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/559572
+
+make sure we can handle large files properly (like log files over 2GiB)
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -10,6 +10,8 @@
+ AC_STRUCT_ST_BLKSIZE
+ AC_STRUCT_ST_BLOCKS
+
++AC_SYS_LARGEFILE
++
+ AC_CHECK_LIB([popt],[poptParseArgvString],,
+ AC_MSG_ERROR([libpopt required but not found]))
+