X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=tools%2Fxz%2Fpatches%2F100-freebsd-compat.patch;fp=tools%2Fxz%2Fpatches%2F100-freebsd-compat.patch;h=480a65293a7e327797f008ff82100a3cbc0052b1;hp=0000000000000000000000000000000000000000;hb=ae2e4eb18f2dfc4de89138a1d83c9a570f3b1189;hpb=bcdf48296b0ae05d69f963996149f5dfd255ed3b diff --git a/tools/xz/patches/100-freebsd-compat.patch b/tools/xz/patches/100-freebsd-compat.patch new file mode 100644 index 0000000000..480a65293a --- /dev/null +++ b/tools/xz/patches/100-freebsd-compat.patch @@ -0,0 +1,11 @@ +--- 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