tags 696872 - moreinfo unreproducible
tags 696872 + patch
thanks

Adam D. Barratt dixit:

>That version built fine on the buildds a few hours ago; downgrading and

Agreed about the downgrading, it turned out to be a porting issue.
The attached patch makes it build.

bye,
//mirabilos
-- 
I want one of these. They cost 720 € though… good they don’t have the HD hole,
which indicates 3½″ floppies with double capacity… still. A tad too much, atm.
‣ http://www.floppytable.com/floppytable-images-1.html
diff -Nru xosview-1.12/debian/changelog xosview-1.12/debian/changelog
--- xosview-1.12/debian/changelog       2012-12-28 07:25:18.000000000 +0100
+++ xosview-1.12/debian/changelog       2012-12-28 23:58:43.000000000 +0100
@@ -1,3 +1,9 @@
+xosview (1.12-1+m68k.1) unreleased; urgency=low
+
+  * Exclude nonexistent headers on m68k (Closes: #696872)
+
+ -- Thorsten Glaser <t...@mirbsd.de>  Fri, 28 Dec 2012 22:58:36 +0000
+
 xosview (1.12-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru xosview-1.12/debian/patches/m68k.diff 
xosview-1.12/debian/patches/m68k.diff
--- xosview-1.12/debian/patches/m68k.diff       1970-01-01 01:00:00.000000000 
+0100
+++ xosview-1.12/debian/patches/m68k.diff       2012-12-28 23:57:10.000000000 
+0100
@@ -0,0 +1,23 @@
+# DP: these headers also do not exist on m68k
+
+--- a/linux/serialmeter.cc
++++ b/linux/serialmeter.cc
+@@ -29,15 +29,15 @@ 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__)
++#if !defined(__powerpc__) && !defined(__hppa__) && !defined(__mips__) && 
!defined(__sparc__) && !defined(__sh__) && !defined(__s390__) && 
!defined(__s390x__) && !defined(__m68k__)
+ #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__)
++#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && 
!defined(__ia64__) && !defined(__hppa__) && !defined(__arm__) && 
!defined(__mips__) && !defined(__sh__) && !defined(__s390__) && !defined 
(__s390x__) && !defined(__m68k__)
+ #include <sys/perm.h>
+ #define HAVE_IOPERM
+ #endif
+ #else
+-#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && 
!defined(__ia64__)
++#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && 
!defined(__ia64__) && !defined(__m68k__)
+ #include <asm/io.h>
+ #endif
+ #endif
diff -Nru xosview-1.12/debian/patches/series xosview-1.12/debian/patches/series
--- xosview-1.12/debian/patches/series  1970-01-01 01:00:00.000000000 +0100
+++ xosview-1.12/debian/patches/series  2012-12-28 23:48:56.000000000 +0100
@@ -0,0 +1 @@
+m68k.diff

Reply via email to