3
0
Fork 0
forked from mirrors/nixpkgs

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>
This commit is contained in:
aszlig 2016-05-26 21:01:58 +02:00
parent ddf264536c
commit 6f8d2d6917
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

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