-- 
Steve McIntyre, Cambridge, UK.                                st...@einval.com
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll
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-10-09 14:29:27.000000000 +0100
@@ -1,3 +1,11 @@
+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. Closes: #759064
+
+ -- Steve McIntyre <93...@debian.org>  Thu, 09 Oct 2014 14:25:00 +0100
+
 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 01:00:00.000000000 
+0100
+++ xosview-1.16/debian/patches/aarch64_build   2014-10-09 14:11:33.000000000 
+0100
@@ -0,0 +1,18 @@
+arm64 doesn't have sys/io.h and sys/perm.h like many other Linux architectures
+Author: Steve McIntyre <93...@debian.org>
+
+--- 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 01:00:00.000000000 +0100
+++ xosview-1.16/debian/patches/series  2014-10-09 14:11:33.000000000 +0100
@@ -0,0 +1 @@
+aarch64_build

Reply via email to