summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:50:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:50:01 +0000
commit91275eb478ceb58083426099b6da3f4c7e189f19 (patch)
tree260f7d2fa77408b38c5cea96b320b9b0b6713ff2 /debian/patches
parentMerging upstream version 1.9.4. (diff)
downloaddnsdist-91275eb478ceb58083426099b6da3f4c7e189f19.tar.xz
dnsdist-91275eb478ceb58083426099b6da3f4c7e189f19.zip
Merging debian version 1.9.4-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/autoconf-systemd-version13
-rw-r--r--debian/patches/series1
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/autoconf-systemd-version b/debian/patches/autoconf-systemd-version
new file mode 100644
index 0000000..d783299
--- /dev/null
+++ b/debian/patches/autoconf-systemd-version
@@ -0,0 +1,13 @@
+Index: dnsdist/m4/systemd.m4
+===================================================================
+--- dnsdist.orig/m4/systemd.m4
++++ dnsdist/m4/systemd.m4
+@@ -134,7 +134,7 @@ AC_DEFUN([AX_CHECK_SYSTEMD_FEATURES], [
+ AC_PATH_PROG([SYSTEMCTL], [systemctl], [no])
+ AS_IF([test "$SYSTEMCTL" = "no"],
+ [AC_MSG_ERROR([systemctl not found])], [
+- _systemd_version=`${SYSTEMCTL} --version|head -1 |cut -d" " -f 2`
++ _systemd_version=`${SYSTEMCTL} --version | head -1 | tr ".~" " " | cut -d" " -f 2`
+ if test $_systemd_version -ge 183; then
+ systemd_private_tmp=y
+ fi
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..2fd1fa5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autoconf-systemd-version