floppym 15/01/01 19:46:51 Added: 216-lz4-build.patch Log: Fix build failure with USE='lz4 -lzma', bug 534228 by rich0. (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path 1.1 sys-apps/systemd/files/216-lz4-build.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/files/216-lz4-build.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/files/216-lz4-build.patch?rev=1.1&content-type=text/plain Index: 216-lz4-build.patch =================================================================== commit 10893a5cfa7d792ba171282c2ec46b85ed6aae0c Author: Gustavo Sverzut Barbieri <[email protected]> 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
