From 79275c6ee970be803a87ada7a853998f01eb7722bc1c2cc0d43c991c3ef18467 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Fri, 5 Jun 2020 18:59:22 +0000 Subject: [PATCH] Accepting request 811912 from home:cgiboudeaux:branches:Publishing - Add upstream patch: * 0001-QtPDF-Fix-compilation-with-Qt-5.15.patch OBS-URL: https://build.opensuse.org/request/show/811912 OBS-URL: https://build.opensuse.org/package/show/Publishing/texworks?expand=0&rev=21 --- 0001-QtPDF-Fix-compilation-with-Qt-5.15.patch | 24 +++++++++++++++++++ texworks.changes | 6 +++++ texworks.spec | 3 +++ 3 files changed, 33 insertions(+) create mode 100644 0001-QtPDF-Fix-compilation-with-Qt-5.15.patch diff --git a/0001-QtPDF-Fix-compilation-with-Qt-5.15.patch b/0001-QtPDF-Fix-compilation-with-Qt-5.15.patch new file mode 100644 index 0000000..a6a468f --- /dev/null +++ b/0001-QtPDF-Fix-compilation-with-Qt-5.15.patch @@ -0,0 +1,24 @@ +From a5afacf4ca64988927690919ce85a1e3b493bd08 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= +Date: Fri, 1 May 2020 08:05:46 +0200 +Subject: [PATCH] Fix compilation with Qt 5.15 + +--- + modules/QtPDF/src/PDFBackend.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules/QtPDF/src/PDFBackend.cpp b/modules/QtPDF/src/PDFBackend.cpp +index 0305d87..500d20a 100644 +--- a/modules/QtPDF/src/PDFBackend.cpp ++++ b/modules/QtPDF/src/PDFBackend.cpp +@@ -14,6 +14,7 @@ + + #include + #include ++#include + #include + + namespace QtPDF { +-- +2.26.2 + diff --git a/texworks.changes b/texworks.changes index 7c3b018..942742e 100644 --- a/texworks.changes +++ b/texworks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 5 18:48:42 UTC 2020 - Christophe Giboudeaux + +- Add upstream patch: + * 0001-QtPDF-Fix-compilation-with-Qt-5.15.patch + ------------------------------------------------------------------- Fri Mar 27 08:48:46 UTC 2020 - Atri Bhattacharya diff --git a/texworks.spec b/texworks.spec index 4fa09f4..01d4612 100644 --- a/texworks.spec +++ b/texworks.spec @@ -25,6 +25,8 @@ License: GPL-2.0-or-later Group: Productivity/Publishing/TeX/Frontends URL: https://www.tug.org/texworks/ Source0: https://github.com/TeXworks/texworks/archive/release-%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM +Patch0: 0001-QtPDF-Fix-compilation-with-Qt-5.15.patch BuildRequires: cmake BuildRequires: dbus-1-devel BuildRequires: desktop-file-utils @@ -82,6 +84,7 @@ This package adds lua scripting abitilies to TeXworks. %prep %setup -q -n texworks-release-%{version} +%patch0 -p1 %build