summaryrefslogtreecommitdiff
path: root/extra/sane/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sane/PKGBUILD')
-rw-r--r--extra/sane/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/extra/sane/PKGBUILD b/extra/sane/PKGBUILD
index 4abdfd248..d0aab1080 100644
--- a/extra/sane/PKGBUILD
+++ b/extra/sane/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 173127 2012-12-11 14:42:10Z jgc $
+# $Id: PKGBUILD 178746 2013-02-26 16:27:02Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Simo L. <neotuli@yahoo.com>
@@ -6,7 +6,7 @@
pkgname=sane
pkgver=1.0.23
-pkgrel=2
+pkgrel=3
pkgdesc="Scanner Access Now Easy"
url="http://www.sane-project.org/"
arch=('i686' 'x86_64')
@@ -18,12 +18,19 @@ backup=(etc/sane.d/{abaton.conf,agfafocus.conf,apple.conf,artec.conf,artec_eplus
source=(ftp://ftp.archlinux.org/other/sane/$pkgname-backends-$pkgver.tar.gz
'sane.xinetd'
'saned.socket'
- 'saned.service')
+ 'saned.service'
+ 'kodakaio.c.patch'
+ 'network.patch')
options=(!libtool)
build() {
cd "${srcdir}/${pkgname}-backends-${pkgver}"
+ # fix FS#33657
+ patch -Np0 -i ${srcdir}/kodakaio.c.patch
+ # fix http://vasks.debian.org/tracker/?func=detail&atid=410366&aid=313760&group_id=30186
+ patch -Np1 -i ${srcdir}/network.patch
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -59,6 +66,8 @@ package () {
"${pkgdir}/usr/lib/systemd/system/saned@.service"
}
md5sums=('e226a89c54173efea80e91e9a5eb6573'
- 'da946cc36fb83612162cf9505986d4b2'
+ '5f519030392d599e2ad348159ec4c96f'
'e57e9e15528f47f5f1b3f1411135ed5d'
- 'e44bd4c994a52d6f472463d1eb0a03be')
+ 'e44bd4c994a52d6f472463d1eb0a03be'
+ 'e65dbefb7c3d69955fb6eb3ace14aa12'
+ '44e77692c52db15b0f530a1d9a8e1296')