diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/autoconf-systemd-version | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
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 |