From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/systemd/files: 216-lz4-build.patch |
Date: | Thu, 01 Jan 2015 19:46:56 |
Message-Id: | 20150101194651.A15EAEA8A@oystercatcher.gentoo.org |
1 | floppym 15/01/01 19:46:51 |
2 | |
3 | Added: 216-lz4-build.patch |
4 | Log: |
5 | Fix build failure with USE='lz4 -lzma', bug 534228 by rich0. |
6 | |
7 | (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/systemd/files/216-lz4-build.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/files/216-lz4-build.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/files/216-lz4-build.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 216-lz4-build.patch |
16 | =================================================================== |
17 | commit 10893a5cfa7d792ba171282c2ec46b85ed6aae0c |
18 | Author: Gustavo Sverzut Barbieri <gustavo.barbieri@×××××.com> |
19 | Date: Thu Sep 25 18:08:02 2014 -0300 |
20 | |
21 | journal: build fix when LZ4 is enabled but XZ is not |
22 | |
23 | diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h |
24 | index da2ef3b..6b4bf0d 100644 |
25 | --- a/src/journal/journal-file.h |
26 | +++ b/src/journal/journal-file.h |
27 | @@ -78,7 +78,7 @@ typedef struct JournalFile { |
28 | |
29 | Hashmap *chain_cache; |
30 | |
31 | -#ifdef HAVE_XZ |
32 | +#if defined(HAVE_XZ) || defined(HAVE_LZ4) |
33 | void *compress_buffer; |
34 | size_t compress_buffer_size; |
35 | #endif |