@@ -19,7 +19,7 @@
1919
2020{ lib, fetchurl, writeScript, ruby, kerberos, libxml2, libxslt, python, stdenv, which
2121, libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick
22−, pkgconfig , ncurses, xapian, gpgme, utillinux, fetchpatch, tzdata, icu, libffi
22+, pkgconfig , ncurses, xapian, gpgme, utillinux, tzdata, icu, libffi
2323, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
2424, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
2525, cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx
@@ -613,5 +613,11 @@ in
613613
614614 zookeeper = attrs: {
615615 buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ];
616+ dontBuild = false;
617+ postPatch = ''
618+ sed -i ext/extconf.rb -e "4a \
619+ FileUtils.cp '${./zookeeper-ftbfs-with-gcc-8.patch}', 'patches/zkc-3.4.5-gcc-8.patch'
620+ "
621+ '';
616622 };
617623}