main/shared-mime-info: disable fdatasync

See: https://bugs.freedesktop.org/show_bug.cgi?id=70366
This commit is contained in:
Natanael Copa 2014-02-04 09:07:05 +00:00
parent 3c5ee99289
commit 54151c46e1
2 changed files with 3 additions and 2 deletions

View File

@ -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 \

View File

@ -3,5 +3,6 @@
for i in "$@"; do
if [ -d "$i" ]; then
update-mime-database "$i" > /dev/null 2>&1
sync
fi
done