kmscon: Fix build against systemd 230
From the changelog:
The compatibility libraries libsystemd-daemon.so,
libsystemd-journal.so, libsystemd-id128.so, and libsystemd-login.so
which have been deprecated since systemd-209 have been removed along
with the corresponding pkg-config files. All symbols provided by those
libraries are provided by libsystemd.so.
So let's just replace the use of libsystemd-daemon and libsystemd-login
with libsystemd in the configure script until a new version of kmscon
comes along.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
commit6f8d2d6917ee1dc54b5bbe7a66a15e1b6bc7bec2
authoraszlig <aszlig@redmoonstudios.org>
dateThu 26 May 2016, 21:01 (11 years ago)
parentddf2645
pkgs/os-specific/linux/kmscon/default.nix+5
@@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
3333 libxslt
3434 ];
3535
36+ # FIXME: Remove as soon as kmscon > 8 comes along.
37+ postPatch = ''
38+ sed -i -e 's/libsystemd-daemon libsystemd-login/libsystemd/g' configure
39+ '';
40+
3641 configureFlags = [
3742 "--enable-multi-seat"
3843 "--disable-debug"