From 2235dff8e203479bcdabe3572547c4148d1af63e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 11 Mar 2015 11:50:00 +0100 Subject: [PATCH] debian/patches: Add 1002_libsystemd-transition.patch. Make sure autoconf looks for the correct .pc file when search for libsystemd-dev. --- debian/patches/1002_libsystemd-transition.patch | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/1002_libsystemd-transition.patch diff --git a/debian/patches/1002_libsystemd-transition.patch b/debian/patches/1002_libsystemd-transition.patch new file mode 100644 index 0000000..ca9ef50 --- /dev/null +++ b/debian/patches/1002_libsystemd-transition.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -115,7 +115,7 @@ + + use_systemd=no + if test "x$with_systemd" != "xno" ; then +- PKG_CHECK_MODULES(SYSTEMD, libsystemd-login, use_systemd=yes, use_systemd=no) ++ PKG_CHECK_MODULES(SYSTEMD, libsystemd, use_systemd=yes, use_systemd=no) + + if test "x$use_systemd" = "xyes"; then + AC_DEFINE(HAVE_SYSTEMD, 1, [systemd support]) diff --git a/debian/patches/series b/debian/patches/series index 650e93d..98cf1d1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 0003_set-XDG-CURRENT-DESKTOP-if-empty.patch 0004_no-crash-if-no-req-apps-found.patch 1001_hypen-used-as-minus-sign-man-page-fix.patch +1002_libsystemd-transition.patch