From 568a02c01b2f885b91d2b656015edfd70bb69679 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Thu, 20 Feb 2014 16:37:00 +0200 Subject: [PATCH] xorg-launch-helper: fix build with systemd-209 --- .../x11/util/xorg-launch-helper/package.mk | 2 ++ ...per-dont-check-for-libsystemd-daemon.patch | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 packages/x11/util/xorg-launch-helper/patches/xorg-launch-helper-dont-check-for-libsystemd-daemon.patch diff --git a/packages/x11/util/xorg-launch-helper/package.mk b/packages/x11/util/xorg-launch-helper/package.mk index 5ef466b9aa..5d6ae1521e 100644 --- a/packages/x11/util/xorg-launch-helper/package.mk +++ b/packages/x11/util/xorg-launch-helper/package.mk @@ -32,6 +32,8 @@ PKG_LONGDESC="Xorg-launch-helper is a small utility that transforms the X server PKG_IS_ADDON="no" PKG_AUTORECONF="yes" +export LIBS="-lsystemd" + post_makeinstall_target() { # do not install systemd services rm -rf $INSTALL/usr/lib diff --git a/packages/x11/util/xorg-launch-helper/patches/xorg-launch-helper-dont-check-for-libsystemd-daemon.patch b/packages/x11/util/xorg-launch-helper/patches/xorg-launch-helper-dont-check-for-libsystemd-daemon.patch new file mode 100644 index 0000000000..fbb869151c --- /dev/null +++ b/packages/x11/util/xorg-launch-helper/patches/xorg-launch-helper-dont-check-for-libsystemd-daemon.patch @@ -0,0 +1,26 @@ +From 9cd13bb39f2a8ce5d458f5a33010b5c9c5edf131 Mon Sep 17 00:00:00 2001 +From: Stefan Saraev +Date: Thu, 20 Feb 2014 16:34:57 +0200 +Subject: [PATCH] dont check for libsystemd-daemon + +--- + configure.ac | 3 --- + 1 files changed, 0 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index ceb8dd8..bc199c5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -20,9 +20,6 @@ AC_CHECK_LIB([rt], [main], , + AC_MSG_ERROR([librt is required but was not found])) + + PKG_CHECK_MODULES([SYSTEMD], [systemd]) +-PKG_CHECK_MODULES([LIBSYSTEMD_DAEMON], [libsystemd-daemon]) +-AC_SUBST(LIBSYSTEMD_DAEMON_CFLAGS) +-AC_SUBST(LIBSYSTEMD_DAEMON_LIBS) + + AC_ARG_WITH([systemduserunitdir], AC_HELP_STRING([--with-systemduserunitdir=DIR], + [path to systemd user service directory]), [path_systemduserunit=${withval}], +-- +1.7.2.5 +