Package: squashfs-tools Version: 1:4.2-1 Severity: important Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, squashfs-tools currently fail to build from source on kfreebsd-*. Please find attached a patch to update the compatibility patch. Cheers, -- Jérémy Bobbio .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
diff -Nru squashfs-tools-4.2/debian/patches/01-kfreebsd.patch squashfs-tools-4.2/debian/patches/01-kfreebsd.patch --- squashfs-tools-4.2/debian/patches/01-kfreebsd.patch 2011-03-17 15:06:58.000000000 +0100 +++ squashfs-tools-4.2/debian/patches/01-kfreebsd.patch 2011-04-24 22:55:18.000000000 +0200 @@ -70,3 +70,25 @@ #define __BYTE_ORDER BYTE_ORDER #define __BIG_ENDIAN BIG_ENDIAN #define __LITTLE_ENDIAN LITTLE_ENDIAN +--- squashfs-tools-4.2.orig/squashfs-tools/xz_wrapper.h ++++ squashfs-tools-4.2/squashfs-tools/xz_wrapper.h +@@ -24,7 +24,7 @@ + * + */ + +-#ifndef linux ++#if !defined(linux) && !defined(__GLIBC__) + #define __BYTE_ORDER BYTE_ORDER + #define __BIG_ENDIAN BIG_ENDIAN + #define __LITTLE_ENDIAN LITTLE_ENDIAN +--- squashfs-tools-4.2.orig/squashfs-tools/read_xattrs.c ++++ squashfs-tools-4.2/squashfs-tools/read_xattrs.c +@@ -31,7 +31,7 @@ + #include <stdio.h> + #include <string.h> + +-#ifndef linux ++#if !defined(linux) && !defined(__GLIBC__) + #define __BYTE_ORDER BYTE_ORDER + #define __BIG_ENDIAN BIG_ENDIAN + #define __LITTLE_ENDIAN LITTLE_ENDIAN
signature.asc
Description: Digital signature