summaryrefslogtreecommitdiffstats
path: root/debian/patches/autoconf-systemd-version
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:49:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:49:40 +0000
commitc96f16e8103783f6b98d9f844ea3a7f2195e4834 (patch)
tree479bef5e7eb5d4f04ba171931c8b47335734e161 /debian/patches/autoconf-systemd-version
parentMerging upstream version 1.9.4. (diff)
downloaddnsdist-c96f16e8103783f6b98d9f844ea3a7f2195e4834.tar.xz
dnsdist-c96f16e8103783f6b98d9f844ea3a7f2195e4834.zip
Adding debian version 1.9.4-1.debian/1.9.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/autoconf-systemd-version')
-rw-r--r--debian/patches/autoconf-systemd-version13
1 files changed, 13 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