lyx: Fixes building with Qt5.11

This commit is contained in:
Bastian Köcher 2018-06-17 12:10:50 +02:00
parent 556f670c15
commit e3ad1039c5

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, python, file, bc
{ fetchurl, stdenv, pkgconfig, python, file, bc, fetchpatch
, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
}:
@ -35,6 +35,13 @@ stdenv.mkDerivation rec {
--prefix PATH : '${python}/bin'
'';
patches = [
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-office/lyx/files/lyx-2.3.0-qt-5.11.patch?id=07e82fd1fc07bf055c78b81eaa128f8f837da80d";
sha256 = "1bnx0il2iv36lnrnyb370wyvww0rd8bphcy6z8d7zmvd3pwhyfql";
})
];
meta = with stdenv.lib; {
description = "WYSIWYM frontend for LaTeX, DocBook";
homepage = http://www.lyx.org;