proplib: merge patch from git master to use fdatasync(3) if available.
This commit is contained in:
parent
d1b66895b3
commit
df7b04d10a
|
@ -0,0 +1,41 @@
|
|||
From edb6ac4b6adfc94deb4c326087948efd085f111a Mon Sep 17 00:00:00 2001
|
||||
From: Juan RP <xtraeme@gmail.com>
|
||||
Date: Fri, 17 May 2013 08:04:10 +0200
|
||||
Subject: [PATCH] bugfix: to enable fdatasync(3) config.h must be included
|
||||
(sigh).
|
||||
|
||||
---
|
||||
NEWS | 4 ++++
|
||||
src/prop_object.c | 4 ++++
|
||||
2 files changed, 8 insertions(+)
|
||||
|
||||
diff --git a/NEWS b/NEWS
|
||||
index b6d3877..e4542f6 100644
|
||||
--- NEWS
|
||||
+++ NEWS
|
||||
@@ -1,3 +1,7 @@
|
||||
+0.6.4
|
||||
+-------------------------------------------------------------------------------
|
||||
+ * Properly enable fdatasync(3) if it's found in configure.
|
||||
+
|
||||
0.6.3
|
||||
-------------------------------------------------------------------------------
|
||||
* Removed NetBSD specific code and defines for kernel/standalone.
|
||||
diff --git a/src/prop_object.c b/src/prop_object.c
|
||||
index ec76453..4155095 100644
|
||||
--- src/prop_object.c
|
||||
+++ src/prop_object.c
|
||||
@@ -29,6 +29,10 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include "config.h"
|
||||
+#endif
|
||||
+
|
||||
#include <prop/prop_object.h>
|
||||
#include "prop_object_impl.h"
|
||||
|
||||
--
|
||||
1.8.2.2
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'proplib'
|
||||
pkgname=proplib
|
||||
version=0.6.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="zlib-devel"
|
||||
short_desc="Portable Property container object library"
|
||||
|
@ -13,7 +13,7 @@ checksum=a2acc281ad7993ae61ce417dfe10d27960aa4c8b6abc186b76a3f15e325e6f21
|
|||
|
||||
proplib-devel_package() {
|
||||
depends="zlib-devel ${sourcepkg}-${version}_${revision}"
|
||||
short_desc="${short_desc} - development files"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/share
|
||||
|
|
Loading…
Reference in New Issue