diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-10-06 12:25:29 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-10-06 14:12:45 +0200 |
commit | e68c0a1325f86a757d33d252e687ee7c9f74a8b7 (patch) | |
tree | c764679bd0150a3298ec68fd2e56f19559fba9e1 /tools/xz/patches | |
parent | 9edfe7dd13d973b2d0c754d79dabdeebaeb13d49 (diff) | |
download | mtk-20170518-e68c0a1325f86a757d33d252e687ee7c9f74a8b7.zip mtk-20170518-e68c0a1325f86a757d33d252e687ee7c9f74a8b7.tar.gz mtk-20170518-e68c0a1325f86a757d33d252e687ee7c9f74a8b7.tar.bz2 |
tools: xz: use .bz2 archive
In order to build XZ itself we cannot assume that XZ support is available,
so fetch the bz2 archive variant of its sources instead.
Also drop the FreeBSD portability patch and apply it at prepare time using
sed, to avoid a dependency on GNU patch which in turn depends on XZ support.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tools/xz/patches')
-rw-r--r-- | tools/xz/patches/100-freebsd-compat.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/xz/patches/100-freebsd-compat.patch b/tools/xz/patches/100-freebsd-compat.patch deleted file mode 100644 index 480a652..0000000 --- a/tools/xz/patches/100-freebsd-compat.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/common/tuklib_integer.h -+++ b/src/common/tuklib_integer.h -@@ -48,7 +48,7 @@ - // Operating system specific features // - //////////////////////////////////////// - --#if defined(HAVE_BYTESWAP_H) -+#if defined(HAVE_BYTESWAP_H) && !defined(__FreeBSD__) - // glibc, uClibc, dietlibc - # include <byteswap.h> - # ifdef HAVE_BSWAP_16 |