Source: xosview
Version: 1.16-1
Severity: normal
Tags: patch
User: [email protected]
Usertag: arm64

Hi,

xosview fails to build on arm64 due to inclusion of quite
arch-dependent headers in linux/serialmeter.cc. The attached patch
adds a check for __arch64__ similarly to other architectures and this
fixes the build.

I'd strongly suggest that upstream might instead want to invert the
logic here and only include sys/io.h and sys/perm.h on architectures
where they're known to be needed. But for now this is a simple fix.

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to