Skip to content

Commit

Permalink
kmscon: Fix build against systemd 230
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
aszlig committed May 26, 2016
1 parent ddf2645 commit 6f8d2d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/os-specific/linux/kmscon/default.nix
Expand Up @@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
libxslt
];

# FIXME: Remove as soon as kmscon > 8 comes along.
postPatch = ''
sed -i -e 's/libsystemd-daemon libsystemd-login/libsystemd/g' configure
'';

configureFlags = [
"--enable-multi-seat"
"--disable-debug"
Expand Down

0 comments on commit 6f8d2d6

Please sign in to comment.