diff --git a/srcpkgs/dnsdist/patches/boost-1.91.patch b/srcpkgs/dnsdist/patches/boost-1.91.patch new file mode 100644 index 00000000000..ffb37cdccff --- /dev/null +++ b/srcpkgs/dnsdist/patches/boost-1.91.patch @@ -0,0 +1,29 @@ +--- a/dnsdist-lua.cc ++++ b/dnsdist-lua.cc +@@ -3083,7 +3083,7 @@ static void setupLuaConfig(LuaContext& l + customName = std::optional(*optCustomName); + } + if (!customName) { +- boost::optional vars = {boost::get(opts.get())}; ++ boost::optional vars = boost::get(opts.get()); + getOptionalValue(vars, "customName", customName); + getOptionalValue(vars, "withLabels", withLabels); + checkAllParametersConsumed("declareMetric", vars); +@@ -3106,7 +3106,7 @@ static void setupLuaConfig(LuaContext& l + step = *custom_step; + } + else { +- boost::optional vars = {boost::get(incOpts)}; ++ boost::optional vars = boost::get(incOpts); + getOptionalValue(vars, "step", step); + getOptionalValue>(vars, "labels", labels); + checkAllParametersConsumed("incMetric", vars); +@@ -3128,7 +3128,7 @@ static void setupLuaConfig(LuaContext& l + step = *custom_step; + } + else { +- boost::optional vars = {boost::get(decOpts)}; ++ boost::optional vars = boost::get(decOpts); + getOptionalValue(vars, "step", step); + getOptionalValue>(vars, "labels", labels); + checkAllParametersConsumed("decMetric", vars); diff --git a/srcpkgs/dnsdist/template b/srcpkgs/dnsdist/template index 1743493eee8..d5077287e21 100644 --- a/srcpkgs/dnsdist/template +++ b/srcpkgs/dnsdist/template @@ -8,7 +8,7 @@ configure_args="-Ddnscrypt=enabled -Dreproducible=true -Dsnmp=enabled -Dyaml=disabled --sysconfdir=/etc/dnsdist" conf_files="/etc/dnsdist/dnsdist.conf" hostmakedepends="cmake pkg-config python3 python3-yaml tar" -makedepends="boost-devel fstrm-devel libcap-devel libedit-devel +makedepends="boost-headers fstrm-devel libcap-devel libedit-devel libsodium-devel lua54-devel net-snmp-devel nghttp2-devel openssl-devel re2-devel" short_desc="Dynamic DNS loadbalancer"