Merge #42126: lyx: fix build with Qt5.11

This commit is contained in:
Vladimír Čunát 2018-06-17 12:19:05 +02:00
commit 7f359a7a27
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

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;