diff -Nru jffi-1.2.7/debian/changelog jffi-1.2.7/debian/changelog --- jffi-1.2.7/debian/changelog 2015-11-20 14:53:42.000000000 +0000 +++ jffi-1.2.7/debian/changelog 2015-12-23 19:02:15.000000000 +0000 @@ -1,3 +1,11 @@ +jffi (1.2.7-9) unstable; urgency=medium + + * Team upload. + * Apply patch to build on non-Linux architectures (Closes: #808175). + Thank you to Steven Chamberlain for the patch! + + -- tony mancill Wed, 23 Dec 2015 11:01:55 -0800 + jffi (1.2.7-8) unstable; urgency=medium * Fix FTBFS on buildd by making the jh_manifest override arch-indep. diff -Nru jffi-1.2.7/debian/patches/nonlinux-platforms.patch jffi-1.2.7/debian/patches/nonlinux-platforms.patch --- jffi-1.2.7/debian/patches/nonlinux-platforms.patch 1970-01-01 00:00:00.000000000 +0000 +++ jffi-1.2.7/debian/patches/nonlinux-platforms.patch 2015-12-23 19:02:15.000000000 +0000 @@ -0,0 +1,32 @@ +From: Steven Chamberlain +Date: Wed, 16 Dec 2015 18:56:35 +0000 +Subject: just use platform=Linux for GNU/kFreeBSD and Hurd +Bug-Debian: http://bugs.debian.org/808175 + +--- a/build.xml ++++ b/build.xml +@@ -93,6 +93,13 @@ + + + ++ ++ ++ ++ ++ ++ ++ + + + +--- a/jni/jffi/endian.h ++++ b/jni/jffi/endian.h +@@ -36,7 +36,7 @@ + #include + #include + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__) + # include_next + #endif + diff -Nru jffi-1.2.7/debian/patches/series jffi-1.2.7/debian/patches/series --- jffi-1.2.7/debian/patches/series 2015-11-20 14:53:42.000000000 +0000 +++ jffi-1.2.7/debian/patches/series 2015-12-23 19:02:15.000000000 +0000 @@ -4,3 +4,4 @@ disable-warnings-as-errors-for-libtest.patch test_fork_true.patch remove-unnecessary-target-for-native-build.patch +nonlinux-platforms.patch