proplib: backport patch from master for fdatasync(2).

This commit is contained in:
Juan RP 2012-05-17 17:22:04 +02:00
parent 11bf0ca19c
commit 8f90157562
3 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- src/prop_object.c.orig 2012-05-15 16:34:56.968699452 +0200
+++ src/prop_object.c 2012-05-15 16:35:58.796906967 +0200
@@ -858,7 +858,7 @@ _prop_object_externalize_write_file(cons
goto bad;
}
- if (fsync(fd) == -1)
+ if (fdatasync(fd) == -1)
goto bad;
myumask = umask(0);

View file

@ -5,8 +5,10 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run zlib-devel
Add_dependency run proplib
Add_dependency run proplib ">=${version}"
do_install() {
vmove usr/include usr

View file

@ -1,6 +1,7 @@
# Template file for 'proplib'
pkgname=proplib
version=0.6.1
revision=1
homepage="http://code.google.com/p/portableproplib"
distfiles="http://portableproplib.googlecode.com/files/$pkgname-$version.tar.xz"
build_style=gnu-configure