summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-25 18:24:43 +0000
committernia <nia@pkgsrc.org>2021-04-25 18:24:43 +0000
commitfe2679617b9638046cf4bae370cfa7c959e71706 (patch)
treea650f20a12b303c766cda9965313c517dd229305 /inputmethod
parent77a4dcf95d6cb8a8cb43cec101cc2fc09b1d9be6 (diff)
downloadpkgsrc-fe2679617b9638046cf4bae370cfa7c959e71706.tar.gz
fcitx5-gtk: fix building with gcc10
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/fcitx5-gtk/distinfo3
-rw-r--r--inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/inputmethod/fcitx5-gtk/distinfo b/inputmethod/fcitx5-gtk/distinfo
index b83eb5100b6..3f56699cd3c 100644
--- a/inputmethod/fcitx5-gtk/distinfo
+++ b/inputmethod/fcitx5-gtk/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2021/02/27 19:34:11 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2021/04/25 18:24:43 nia Exp $
SHA1 (fcitx5-gtk-5.0.4.tar.xz) = a08a7c098f0cfdf10d3b21492f2a8b788d4b2bbf
RMD160 (fcitx5-gtk-5.0.4.tar.xz) = a8134853c85f611cf890cd863f5ede1ab26e8d5e
SHA512 (fcitx5-gtk-5.0.4.tar.xz) = 9009369e19f2165bcf514f2a229db456ee8aa0d81611a133aa03f69ecd06a27689506edaf3c2d61e0f1928fc47070bb11280308ca5a4dca6ae35bb39a087a407
Size (fcitx5-gtk-5.0.4.tar.xz) = 49044 bytes
+SHA1 (patch-gtk3_utils.h) = b2b2a5ad72d2ca9767d3352f6d499ecf8b94871a
diff --git a/inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h b/inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h
new file mode 100644
index 00000000000..26eeef011de
--- /dev/null
+++ b/inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-gtk3_utils.h,v 1.1 2021/04/25 18:24:43 nia Exp $
+
+Include missing header for std::free. Fixes building with gcc10.
+
+--- gtk3/utils.h.orig 2021-01-25 21:23:36.273540700 +0000
++++ gtk3/utils.h
+@@ -9,6 +9,7 @@
+
+ #include <cairo.h>
+ #include <glib-object.h>
++#include <cstdlib>
+ #include <memory>
+ #include <utility>
+