From e68c0a1325f86a757d33d252e687ee7c9f74a8b7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 6 Oct 2016 12:25:29 +0200 Subject: 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 --- tools/xz/patches/100-freebsd-compat.patch | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tools/xz/patches/100-freebsd-compat.patch (limited to 'tools/xz/patches') diff --git a/tools/xz/patches/100-freebsd-compat.patch b/tools/xz/patches/100-freebsd-compat.patch deleted file mode 100644 index 480a65293a..0000000000 --- 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 - # ifdef HAVE_BSWAP_16 -- cgit v1.2.3