From e83dd904b8caac97ce2752ea098c078d638a1d44 Mon Sep 17 00:00:00 2001 From: humdinger Date: Sat, 22 Jan 2022 18:04:11 +0100 Subject: [PATCH] Ghostwriter: add patch to fix build (#6554) Fixes #6550 --- app-text/ghostwriter/ghostwriter-1.7.4.recipe | 3 ++- .../patches/ghostwriter-1.7.4.patchset | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 app-text/ghostwriter/patches/ghostwriter-1.7.4.patchset diff --git a/app-text/ghostwriter/ghostwriter-1.7.4.recipe b/app-text/ghostwriter/ghostwriter-1.7.4.recipe index 67d0c46cd..9930bbf1c 100644 --- a/app-text/ghostwriter/ghostwriter-1.7.4.recipe +++ b/app-text/ghostwriter/ghostwriter-1.7.4.recipe @@ -16,11 +16,12 @@ Main features: HOMEPAGE="https://wereturtle.github.io/ghostwriter/" COPYRIGHT="wereturtle et al." LICENSE="GNU GPL v3" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/wereturtle/ghostwriter/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="4987126e71a37556e575fbce2002c5504cf15a04c11bcce604a278f59ec9c11a" SOURCE_FILENAME="ghostwriter-$portVersion.tar.gz" ADDITIONAL_FILES="ghostwriter.rdef.in" +PATCHES="ghostwriter-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" diff --git a/app-text/ghostwriter/patches/ghostwriter-1.7.4.patchset b/app-text/ghostwriter/patches/ghostwriter-1.7.4.patchset new file mode 100644 index 000000000..9fcdbebe0 --- /dev/null +++ b/app-text/ghostwriter/patches/ghostwriter-1.7.4.patchset @@ -0,0 +1,21 @@ +From a999c99cb9adb59674558baa678f674fc7508632 Mon Sep 17 00:00:00 2001 +From: Humdinger +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 + #include + #include ++#include + #include + #include + #include +-- +2.30.2 +