git.iko.soy/typeable/nixpkgs
on master help sign in
pgpool: 3.4.2 -> 3.4.14

Fixes the build with glibc 2.26. Tracking issue: #31696

commit68a703b4059a59e8411db7e01b1a308fce5ac561 authorOrivej Desh <orivej@gmx.fr> dateThu 16 Nov 2017, 02:17 (9 years ago) parent3835526
2 files changed+18−2
pkgs/servers/sql/pgpool/default.nix+6−2 pkgs/servers/sql/pgpool/pgpool-II-3.4.14-glibc-2.26.patch+12
pkgs/servers/sql/pgpool/default.nix+6−2
@@ -1,14 +1,16 @@
11{ stdenv, fetchurl, postgresql, openssl, pam ? null, libmemcached ? null }:
22
33stdenv.mkDerivation rec {
4− name = "pgpool-II-3.4.2";
4+ name = "pgpool-II-3.4.14";
55
66 src = fetchurl {
77 name = "${name}.tar.gz";
88 url = "http://www.pgpool.net/download.php?f=${name}.tar.gz";
9− sha256 = "0lf3fvwc2ib4md25a3hnv822nhy9ac06vg0ndw8q9bry66hzwcfh";
9+ sha256 = "1paak83f4lv48xckmf2znryrvhmdz86w4v97mcw2gxm50hcl74sw";
1010 };
1111
12+ patches = [ ./pgpool-II-3.4.14-glibc-2.26.patch ];
13+
1214 buildInputs = [ postgresql openssl pam libmemcached ];
1315
1416 configureFlags = [
@@ -22,6 +24,8 @@ stdenv.mkDerivation rec {
2224 "sysconfdir=\${out}/etc"
2325 ];
2426
27+ enableParallelBuilding = true;
28+
2529 meta = with stdenv.lib; {
2630 homepage = http://pgpool.net/mediawiki/index.php;
2731 description = "A middleware that works between postgresql servers and postgresql clients";
pkgs/servers/sql/pgpool/pgpool-II-3.4.14-glibc-2.26.patchnew file+12
@@ -0,0 +1,12 @@
1+diff --git a/src/watchdog/wd_lifecheck.c b/src/watchdog/wd_lifecheck.c
2+index 1e72307..5cf68a3 100644
3+--- a/src/watchdog/wd_lifecheck.c
4++++ b/src/watchdog/wd_lifecheck.c
5+@@ -26,6 +26,7 @@
6+ #include <ctype.h>
7+ #include <time.h>
8+ #include <string.h>
9++#include <stdint.h>
10+ #include <stdlib.h>
11+ #include <unistd.h>
12+ #include <netdb.h>