Hmmm, reportbug didn't attach my patch. Here it is.
-- Steve McIntyre, Cambridge, UK. [email protected] "Every time you use Tcl, God kills a kitten." -- Malcolm Ray
diff -Nru xosview-1.16/debian/changelog xosview-1.16/debian/changelog --- xosview-1.16/debian/changelog 2013-12-27 13:46:32.000000000 +0000 +++ xosview-1.16/debian/changelog 2014-08-24 02:23:03.000000000 +0000 @@ -1,3 +1,10 @@ +xosview (1.16-1.1) unstable; urgency=medium + + * NMU + * arm64 doesn't have sys/io.h and sys/perm.h like many other Linux architectures + + -- Steve McIntyre <[email protected]> Sat, 23 Aug 2014 19:18:37 -0700 + xosview (1.16-1) unstable; urgency=medium * New upstream release. diff -Nru xosview-1.16/debian/patches/aarch64_build xosview-1.16/debian/patches/aarch64_build --- xosview-1.16/debian/patches/aarch64_build 1970-01-01 00:00:00.000000000 +0000 +++ xosview-1.16/debian/patches/aarch64_build 2014-08-24 02:26:26.000000000 +0000 @@ -0,0 +1,18 @@ +arm64 doesn't have sys/io.h and sys/perm.h like many other Linux architectures +Author: Steve McIntyre <[email protected]> + +--- xosview-1.16.orig/linux/serialmeter.cc ++++ xosview-1.16/linux/serialmeter.cc +@@ -29,10 +29,10 @@ typedef unsigned long long u64; + + #include <unistd.h> + #if defined(GNULIBC) || defined(__GLIBC__) +-#if !defined(__powerpc__) && !defined(__hppa__) && !defined(__mips__) && !defined(__sparc__) && !defined(__sh__) && !defined(__s390__) && !defined(__s390x__) && !defined(__m68k__) ++#if !defined(__powerpc__) && !defined(__hppa__) && !defined(__mips__) && !defined(__sparc__) && !defined(__sh__) && !defined(__s390__) && !defined(__s390x__) && !defined(__m68k__) && !defined(__aarch64__) + #include <sys/io.h> + #endif +-#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__ia64__) && !defined(__hppa__) && !defined(__arm__) && !defined(__mips__) && !defined(__sh__) && !defined(__s390__) && !defined (__s390x__) && !defined(__m68k__) ++#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__ia64__) && !defined(__hppa__) && !defined(__arm__) && !defined(__mips__) && !defined(__sh__) && !defined(__s390__) && !defined (__s390x__) && !defined(__m68k__) && !defined(__aarch64__) + #include <sys/perm.h> + #define HAVE_IOPERM + #endif diff -Nru xosview-1.16/debian/patches/series xosview-1.16/debian/patches/series --- xosview-1.16/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ xosview-1.16/debian/patches/series 2014-08-24 02:25:57.000000000 +0000 @@ -0,0 +1 @@ +aarch64_build

