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>master
parent
9edfe7dd13
commit
e68c0a1325
@ -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
|
Loading…
Reference in new issue