diff --git a/srcpkgs/libpqxx/patches/musl.patch b/srcpkgs/libpqxx/patches/musl.patch new file mode 100644 index 00000000000..7e984b72cff --- /dev/null +++ b/srcpkgs/libpqxx/patches/musl.patch @@ -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 + #endif +-#if defined(HAVE_SYS_TIME_H) +-#include +-#endif + #endif ++#include + + #include "libpq-fe.h" + diff --git a/srcpkgs/libpqxx/template b/srcpkgs/libpqxx/template index 1d938f5a0d7..44b65bf8003 100644 --- a/srcpkgs/libpqxx/template +++ b/srcpkgs/libpqxx/template @@ -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 " 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