pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/fcitx5-gtk fcitx5-gtk: fix building with g...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bed7c6c8f0b9
branches:  trunk
changeset: 451308:bed7c6c8f0b9
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Apr 25 18:24:43 2021 +0000

description:
fcitx5-gtk: fix building with gcc10

diffstat:

 inputmethod/fcitx5-gtk/distinfo                   |   3 ++-
 inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 40ce0e6851c6 -r bed7c6c8f0b9 inputmethod/fcitx5-gtk/distinfo
--- a/inputmethod/fcitx5-gtk/distinfo   Sun Apr 25 16:56:44 2021 +0000
+++ b/inputmethod/fcitx5-gtk/distinfo   Sun Apr 25 18:24:43 2021 +0000
@@ -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 -r 40ce0e6851c6 -r bed7c6c8f0b9 inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/fcitx5-gtk/patches/patch-gtk3_utils.h Sun Apr 25 18:24:43 2021 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index