diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-04 09:07:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-04 09:07:05 +0000 |
commit | 54151c46e1b012c3b9aff856f54fd45d370e793d (patch) | |
tree | e41ea4d9e2527d441fbd0182378278bc4e90a574 | |
parent | 3c5ee9928947096e8554f8e7efb1cf50cae3fd87 (diff) | |
download | aports-54151c46e1b012c3b9aff856f54fd45d370e793d.tar.bz2 aports-54151c46e1b012c3b9aff856f54fd45d370e793d.tar.xz |
main/shared-mime-info: disable fdatasync
See: https://bugs.freedesktop.org/show_bug.cgi?id=70366
-rw-r--r-- | main/shared-mime-info/APKBUILD | 4 | ||||
-rw-r--r-- | main/shared-mime-info/shared-mime-info.trigger | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/shared-mime-info/APKBUILD b/main/shared-mime-info/APKBUILD index 62ceda5af2..4bf5a93de0 100644 --- a/main/shared-mime-info/APKBUILD +++ b/main/shared-mime-info/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=shared-mime-info pkgver=1.2 -pkgrel=0 +pkgrel=1 pkgdesc="Freedesktop.org Shared MIME Info" url="http://freedesktop.org/Software/shared-mime-info" arch="all" @@ -15,7 +15,7 @@ source="http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure \ + ac_cv_func_fdatasync=no ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ diff --git a/main/shared-mime-info/shared-mime-info.trigger b/main/shared-mime-info/shared-mime-info.trigger index 51a3e4953e..82526ff422 100644 --- a/main/shared-mime-info/shared-mime-info.trigger +++ b/main/shared-mime-info/shared-mime-info.trigger @@ -3,5 +3,6 @@ for i in "$@"; do if [ -d "$i" ]; then update-mime-database "$i" > /dev/null 2>&1 + sync fi done |