libpqxx: update to 6.0.0

Closes #10874.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
newbluemoon 2018-01-15 22:11:11 +01:00 committed by Enno Boland
parent 424794e64c
commit 5510a252f9
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 18 additions and 4 deletions

View File

@ -0,0 +1,14 @@
--- src/connection_base.cxx.orig 2017-12-24 23:47:41.000000000 +0100
+++ src/connection_base.cxx 2018-01-16 09:03:31.639728954 +0100
@@ -38,10 +38,8 @@
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
-#if defined(HAVE_SYS_TIME_H)
-#include <sys/time.h>
-#endif
#endif
+#include <sys/time.h>
#include "libpq-fe.h"

View File

@ -1,17 +1,17 @@
# Template file for 'libpqxx'
pkgname=libpqxx
version=4.0.1
version=6.0.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
configure_args="--enable-shared --disable-documentation"
hostmakedepends="python postgresql-libs-devel"
makedepends="postgresql-libs-devel"
short_desc="C++ connector for PostgreSQL"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD"
homepage="http://pqxx.org/development/libpqxx"
distfiles="http://pqxx.org/download/software/libpqxx/libpqxx-${version}.tar.gz"
checksum=097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38
distfiles="https://github.com/jtv/${pkgname}/archive/${version}.tar.gz"
checksum=81cac92458efd799fadb0374107464320d93eba71de05aedf21afb9c8dda7c3a
post_install() {
vlicense COPYING