Ghostwriter: add patch to fix build (#6554)

Fixes #6550
This commit is contained in:
humdinger
2022-01-22 18:04:11 +01:00
committed by GitHub
parent 973fcc0553
commit e83dd904b8
2 changed files with 23 additions and 1 deletions

View File

@@ -16,11 +16,12 @@ Main features:
HOMEPAGE="https://wereturtle.github.io/ghostwriter/" HOMEPAGE="https://wereturtle.github.io/ghostwriter/"
COPYRIGHT="wereturtle et al." COPYRIGHT="wereturtle et al."
LICENSE="GNU GPL v3" LICENSE="GNU GPL v3"
REVISION="2" REVISION="3"
SOURCE_URI="https://github.com/wereturtle/ghostwriter/archive/v$portVersion.tar.gz" SOURCE_URI="https://github.com/wereturtle/ghostwriter/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4987126e71a37556e575fbce2002c5504cf15a04c11bcce604a278f59ec9c11a" CHECKSUM_SHA256="4987126e71a37556e575fbce2002c5504cf15a04c11bcce604a278f59ec9c11a"
SOURCE_FILENAME="ghostwriter-$portVersion.tar.gz" SOURCE_FILENAME="ghostwriter-$portVersion.tar.gz"
ADDITIONAL_FILES="ghostwriter.rdef.in" ADDITIONAL_FILES="ghostwriter.rdef.in"
PATCHES="ghostwriter-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2" ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86" SECONDARY_ARCHITECTURES="x86"

View File

@@ -0,0 +1,21 @@
From a999c99cb9adb59674558baa678f674fc7508632 Mon Sep 17 00:00:00 2001
From: Humdinger <humdingerb@gmail.com>
Date: Sat, 22 Jan 2022 11:08:01 +0100
Subject: Include QPainterPath header to fix build
diff --git a/src/MarkdownEditor.cpp b/src/MarkdownEditor.cpp
index 128cf52..65f9624 100644
--- a/src/MarkdownEditor.cpp
+++ b/src/MarkdownEditor.cpp
@@ -31,6 +31,7 @@
#include <QColor>
#include <QApplication>
#include <QDesktopWidget>
+#include <QPainterPath>
#include <QUrl>
#include <QPixmap>
#include <QPainter>
--
2.30.2