From b378a551a1a739c5e1f55677c32f57b36f1bb1df Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Tue, 12 May 2015 22:50:09 +0300 Subject: [systemd] added new ebuilds for specific things in systemd --- sys-apps/systemd/files/216-lz4-build.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys-apps/systemd/files/216-lz4-build.patch (limited to 'sys-apps/systemd/files/216-lz4-build.patch') diff --git a/sys-apps/systemd/files/216-lz4-build.patch b/sys-apps/systemd/files/216-lz4-build.patch new file mode 100644 index 00000000..65fe45cb --- /dev/null +++ b/sys-apps/systemd/files/216-lz4-build.patch @@ -0,0 +1,19 @@ +commit 10893a5cfa7d792ba171282c2ec46b85ed6aae0c +Author: Gustavo Sverzut Barbieri +Date: Thu Sep 25 18:08:02 2014 -0300 + + journal: build fix when LZ4 is enabled but XZ is not + +diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h +index da2ef3b..6b4bf0d 100644 +--- a/src/journal/journal-file.h ++++ b/src/journal/journal-file.h +@@ -78,7 +78,7 @@ typedef struct JournalFile { + + Hashmap *chain_cache; + +-#ifdef HAVE_XZ ++#if defined(HAVE_XZ) || defined(HAVE_LZ4) + void *compress_buffer; + size_t compress_buffer_size; + #endif -- cgit v1.2.3