summaryrefslogtreecommitdiff
path: root/sys-apps/systemd/files/216-lz4-build.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-05-14 21:56:37 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-05-14 21:56:37 +0300
commit95386d5e3e81550bb2541f876faa174814383336 (patch)
treeb61783698018975bf49709e9eec5eb5316279e0a /sys-apps/systemd/files/216-lz4-build.patch
parent4fbb9ca1e274fc52b48fab928bf78fe40dc21ebc (diff)
parent2a0eb3310cd466de041bca720e1f7c0b1689a985 (diff)
Merge recent changes of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'sys-apps/systemd/files/216-lz4-build.patch')
-rw-r--r--sys-apps/systemd/files/216-lz4-build.patch19
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