diff options
-rw-r--r-- | abs/core/udisks/PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/abs/core/udisks/PKGBUILD b/abs/core/udisks/PKGBUILD index 8e2a311..68d728e 100644 --- a/abs/core/udisks/PKGBUILD +++ b/abs/core/udisks/PKGBUILD @@ -3,18 +3,25 @@ pkgname=udisks pkgver=1.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="Disk Management Service" arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/udisks" license=('GPL') -depends=('systemd' 'util-linux' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' - 'device-mapper' 'libatasmart' 'lsof') +depends=('systemd' 'util-linux' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' + 'parted' 'device-mapper' 'libatasmart' 'lsof' 'libgudev') makedepends=('intltool' 'docbook-xsl') source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz udisks.service drop-pci-db.patch) +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # https://bugs.freedesktop.org/show_bug.cgi?id=90778 + sed -i '1i #include <sys/stat.h>' src/helpers/job-drive-detach.c +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |