proplib: update to 0.6.4.

This commit is contained in:
Juan RP 2014-05-17 20:23:39 +02:00
parent 7ff77eebee
commit 6119b6b543
2 changed files with 13 additions and 46 deletions

View file

@ -1,41 +0,0 @@
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

View file

@ -1,15 +1,22 @@
# Template file for 'proplib'
pkgname=proplib
version=0.6.3
revision=2
version=0.6.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="zlib-devel"
short_desc="Portable Property container object library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="http://code.google.com/p/portableproplib"
distfiles="https://portableproplib.googlecode.com/files/$pkgname-$version.tar.xz"
checksum=a2acc281ad7993ae61ce417dfe10d27960aa4c8b6abc186b76a3f15e325e6f21
homepage="https://github.com/xtraeme/portableproplib"
do_fetch() {
git clone -b ${version} git://github.com/xtraeme/portableproplib ${pkgname}-${version}
}
pre_configure() {
./bootstrap
}
proplib-devel_package() {
depends="zlib-devel ${sourcepkg}-${version}_${revision}"
@ -18,6 +25,7 @@ proplib-devel_package() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}