From: Gabor Juhos Date: Wed, 2 Jan 2013 08:53:07 +0000 (+0000) Subject: generic: fix UBIFS build error if XZ compression is disabled X-Git-Tag: reboot~11732 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=373b0b9ad125516ca8fed3f06e24acb983988fd4;p=oweals%2Fopenwrt.git generic: fix UBIFS build error if XZ compression is disabled Signed-off-by: Gabor Juhos SVN-Revision: 34959 --- diff --git a/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch b/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch index 3c917c164c..3442d90db7 100644 --- a/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch +++ b/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch @@ -44,7 +44,7 @@ + .capi_name = "xz", +}; +#else -+static struct ubifs_compressor zlib_compr = { ++static struct ubifs_compressor xz_compr = { + .compr_type = UBIFS_COMPR_XZ, + .name = "xz", +}; diff --git a/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch b/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch index e69c7f1d01..4e15a771a4 100644 --- a/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch +++ b/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch @@ -42,7 +42,7 @@ + .capi_name = "xz", +}; +#else -+static struct ubifs_compressor zlib_compr = { ++static struct ubifs_compressor xz_compr = { + .compr_type = UBIFS_COMPR_XZ, + .name = "xz", +}; diff --git a/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch b/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch index e069741861..f85689c586 100644 --- a/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch +++ b/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch @@ -42,7 +42,7 @@ + .capi_name = "xz", +}; +#else -+static struct ubifs_compressor zlib_compr = { ++static struct ubifs_compressor xz_compr = { + .compr_type = UBIFS_COMPR_XZ, + .name = "xz", +};