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
This commit is contained in:
parent
679d873984
commit
79275c6ee9
24
0001-QtPDF-Fix-compilation-with-Qt-5.15.patch
Normal file
24
0001-QtPDF-Fix-compilation-with-Qt-5.15.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From a5afacf4ca64988927690919ce85a1e3b493bd08 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= <st.loeffler@gmail.com>
|
||||
Date: Fri, 1 May 2020 08:05:46 +0200
|
||||
Subject: [PATCH] <QtPDF> 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 <PDFBackend.h>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QApplication>
|
||||
|
||||
namespace QtPDF {
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 5 18:48:42 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Add upstream patch:
|
||||
* 0001-QtPDF-Fix-compilation-with-Qt-5.15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 27 08:48:46 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user