diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-05-17 02:40:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-05-17 02:40:46 +0100 |
commit | bde22322915ae30f7d6df35a8e76db7e522e961d (patch) | |
tree | 5c33f6f26a87c2f4917838219ee0069bf9f95b75 /sys-apps/systemd/files/216-lz4-build.patch | |
parent | 2edb8d6403eb04542e79586768299fe1f3b86353 (diff) | |
parent | cb614da9f4a21e7f89230fbf78ec447249547c96 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'sys-apps/systemd/files/216-lz4-build.patch')
-rw-r--r-- | sys-apps/systemd/files/216-lz4-build.patch | 19 |
1 files changed, 19 insertions, 0 deletions
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 <gustavo.barbieri@intel.com> +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 |