From 0bd02c2c0762421e021df7371212d336eb8d1caf Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 3 May 2016 18:55:12 +0200 Subject: [PATCH] sane: fix special case for 22 year old hardware. --- srcpkgs/sane/template | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/srcpkgs/sane/template b/srcpkgs/sane/template index d89c6a86de..220de560cd 100644 --- a/srcpkgs/sane/template +++ b/srcpkgs/sane/template @@ -1,7 +1,7 @@ # Template file for 'sane' pkgname=sane version=1.0.25 -revision=1 +revision=2 wrksrc="sane-backends-${version}" build_style=gnu-configure build_options="snmp" @@ -97,11 +97,8 @@ distfiles="http://ftp.lfs-matrix.net/pub/blfs/conglomeration/sane-backends/sane- checksum=a4d7ba8d62b2dea702ce76be85699940992daf3f44823ddc128812da33dc6e2c case "$XBPS_TARGET_MACHINE" in - # musl provides ioperm but not inb/outb for any arch expect - # i386/x32/x86_64 (using bits/io.h included in sys/io.h). - # Then, qcam backend is disabled for arm arch. - armv[67]l-musl) ;; - *) conf_files+=" /etc/sane.d/qcam.conf";; + # qcam backend does IO port bitbanging, x86 only. + i686*|x86_64*) conf_files+=" /etc/sane.d/qcam.conf";; esac post_install() {