summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-05-04 11:04:07 +0000
committernia <nia@pkgsrc.org>2020-05-04 11:04:07 +0000
commit675e6a31508ed1e0a4d9647f3cb4204b577bccc7 (patch)
tree69de4b0a5136247ab9402cb79ac814b2340333c6 /editors
parent937475008400b12e21a8a64d119ebbbc888ff57f (diff)
downloadpkgsrc-675e6a31508ed1e0a4d9647f3cb4204b577bccc7.tar.gz
xournalpp: Missing patch.
Diffstat (limited to 'editors')
-rw-r--r--editors/xournalpp/Makefile3
-rw-r--r--editors/xournalpp/patches/patch-po_CMakeLists.txt17
2 files changed, 19 insertions, 1 deletions
diff --git a/editors/xournalpp/Makefile b/editors/xournalpp/Makefile
index bf07742ca5d..436628f1bb7 100644
--- a/editors/xournalpp/Makefile
+++ b/editors/xournalpp/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2020/04/26 14:06:32 nia Exp $
+# $NetBSD: Makefile,v 1.14 2020/05/04 11:04:07 nia Exp $
DISTNAME= xournalpp-1.0.18
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=xournalpp/}
GITHUB_PROJECT= xournalpp
diff --git a/editors/xournalpp/patches/patch-po_CMakeLists.txt b/editors/xournalpp/patches/patch-po_CMakeLists.txt
new file mode 100644
index 00000000000..6bbce9d8947
--- /dev/null
+++ b/editors/xournalpp/patches/patch-po_CMakeLists.txt
@@ -0,0 +1,17 @@
+$NetBSD: patch-po_CMakeLists.txt,v 1.1 2020/05/04 11:04:07 nia Exp $
+
+Fix building of po files. The "NOUPDATE" was added very close
+to the release, and there seems to be ongoing discussion in
+the bug reports -- not submitted upstream.
+
+--- po/CMakeLists.txt.orig 2020-04-15 19:03:39.000000000 +0000
++++ po/CMakeLists.txt
+@@ -20,7 +20,7 @@ if (XGETTEXT_FOUND)
+ "${PROJECT_SOURCE_DIR}/ui/*.glade"
+ )
+
+- gettext_create_translations ("${potfile}" ALL NOUPDATE)
++ gettext_create_translations ("${potfile}" ALL)
+
+ else (XGETTEXT_FOUND)
+ message (ERROR "Gettext not found!")