debian/patches: Add 1002_libsystemd-transition.patch. Make sure autoconf looks for the correct .pc file when search for libsystemd-dev.

This commit is contained in:
Mike Gabriel 2015-03-11 11:50:00 +01:00
parent 7e796d0f91
commit 2235dff8e2
2 changed files with 12 additions and 0 deletions

View File

@ -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])

View File

@ -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