diff --git a/srcpkgs/dhcp/patches/fix-includes.patch b/srcpkgs/dhcp/patches/fix-includes.patch index 160ff24dd4..ef3d6dae00 100644 --- a/srcpkgs/dhcp/patches/fix-includes.patch +++ b/srcpkgs/dhcp/patches/fix-includes.patch @@ -1,13 +1,3 @@ ---- dst/dst_internal.h -+++ dst/dst_internal.h -@@ -20,6 +20,7 @@ - */ - #include - #include -+#include - - #ifndef PATH_MAX - # ifdef POSIX_PATH_MAX --- includes/arpa/nameser.h +++ includes/arpa/nameser.h @@ -61,6 +61,8 @@ diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template index 81c954ae87..93994cf613 100644 --- a/srcpkgs/dhcp/template +++ b/srcpkgs/dhcp/template @@ -1,16 +1,18 @@ # Template file for 'dhcp' pkgname=dhcp -version=4.3.2 -revision=5 +version=4.3.3 +revision=1 build_style=gnu-configure +disable_parallel_build=yes hostmakedepends="perl" +makedepends="bind-devel" conf_files="/etc/dhcpd.conf" short_desc="Server from the Internet Software Consortium's implementation of DHCP" maintainer="Enno Boland " license="ISC" homepage="https://www.isc.org/software/dhcp" distfiles="http://ftp.isc.org/isc/dhcp/${version}/dhcp-${version}.tar.gz" -checksum=6246c9b358759f6cdcc45104caaf76e732a211dbbbbf64a21f499c8db1298165 +checksum=553c4945b09b1c1b904c4780f34f72aaefa2fc8c6556715de0bc9d4e3d255ede pre_configure() { local _args=" --sbindir=/usr/bin --enable-paranoia @@ -21,7 +23,7 @@ pre_configure() { local cargs="$(echo $configure_args | tr '\n' ' ')" # patching bind Makefile to patch with a cross fix while building (WTF?!) - sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ./configure --with-randomdev=/dev/urandom $cargs#" bind/Makefile + sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ./configure --with-randomdev=/dev/random $cargs#" bind/Makefile.in # set real configure_args export configure_args+="${_args}"