From f8dcc36af4f2f40076e4d07b1acd1a0177a7dbcb Mon Sep 17 00:00:00 2001 From: krant Date: Mon, 26 Feb 2024 13:12:21 +0200 Subject: [PATCH] dnsdist: disable XSK to fix the build XSK support is set to auto by default and on some hosts it is detected as on and leads to: ``` In file included from dnsdist-backend.cc:32: xsk.hh:28:10: fatal error: bits/types/struct_timespec.h: No such file or directory 28 | #include ``` Here we disable XSK so configure will behave more deterministically and hopefully fix the builders. Signed-off-by: krant --- net/dnsdist/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/dnsdist/Makefile b/net/dnsdist/Makefile index a669f14dfe..f611097051 100644 --- a/net/dnsdist/Makefile +++ b/net/dnsdist/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsdist PKG_VERSION:=1.9.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/ @@ -149,6 +149,7 @@ CONFIGURE_ARGS+= \ --with-pic \ --with-lua=luajit \ --with-libcap \ + --without-xsk \ $(if $(call IsEnabled,DNSDIST_PIE),,--disable-hardening) \ $(if $(call IsEnabled,DNSDIST_SODIUM),--enable-dnscrypt --with-libsodium,--disable-dnscrypt --without-libsodium) \ $(if $(call IsEnabled,DNSDIST_DNSTAP),--enable-dnstap=yes,--enable-dnstap=no) \