[arch-commits] Commit in udisks/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Jun 19 17:02:11 UTC 2015


    Date: Friday, June 19, 2015 @ 19:02:10
  Author: foutrelis
Revision: 241045

upgpkg: udisks 1.0.5-2

Rebuild for libgudev split.

Modified:
  udisks/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-19 17:00:42 UTC (rev 241044)
+++ PKGBUILD	2015-06-19 17:02:10 UTC (rev 241045)
@@ -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 \



More information about the arch-commits mailing list