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: add patch to fix bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70e656b329fd
branches:  trunk
changeset: 389247:70e656b329fd
user:      nros <nros%pkgsrc.org@localhost>
date:      Fri Dec 02 18:06:53 2022 +0000

description:
fcitx5-gtk: add patch to fix build, std::min() that takes an initializer list was not visible

diffstat:

 inputmethod/fcitx5-gtk/distinfo                          |   3 +-
 inputmethod/fcitx5-gtk/patches/patch-gtk3_fcitxtheme.cpp |  17 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r bc715c631eb3 -r 70e656b329fd inputmethod/fcitx5-gtk/distinfo
--- a/inputmethod/fcitx5-gtk/distinfo   Fri Dec 02 16:01:20 2022 +0000
+++ b/inputmethod/fcitx5-gtk/distinfo   Fri Dec 02 18:06:53 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:49:31 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/12/02 18:06:53 nros Exp $
 
 BLAKE2s (fcitx5-gtk-5.0.4.tar.xz) = 9f6c6bb56f5d9b4039f478091a9e1fe743f231d09120e3cf6b47c4626dbf8e0a
 SHA512 (fcitx5-gtk-5.0.4.tar.xz) = 9009369e19f2165bcf514f2a229db456ee8aa0d81611a133aa03f69ecd06a27689506edaf3c2d61e0f1928fc47070bb11280308ca5a4dca6ae35bb39a087a407
 Size (fcitx5-gtk-5.0.4.tar.xz) = 49044 bytes
+SHA1 (patch-gtk3_fcitxtheme.cpp) = ce6975f2ee3253d026da810b0f70abf07a82ec46
 SHA1 (patch-gtk3_utils.h) = b2b2a5ad72d2ca9767d3352f6d499ecf8b94871a
diff -r bc715c631eb3 -r 70e656b329fd inputmethod/fcitx5-gtk/patches/patch-gtk3_fcitxtheme.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/fcitx5-gtk/patches/patch-gtk3_fcitxtheme.cpp  Fri Dec 02 18:06:53 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-gtk3_fcitxtheme.cpp,v 1.1 2022/12/02 18:06:53 nros Exp $
+
+Add missing include so that std::min that takes an initializer list
+is visible.
+Taken from upstream:
+https://github.com/fcitx/fcitx5-gtk/commit/54995987451b01d3a47e50edcd4f3339c18eb49c
+
+--- gtk3/fcitxtheme.cpp.orig   2022-12-02 17:41:58.732569384 +0000
++++ gtk3/fcitxtheme.cpp
+@@ -5,6 +5,7 @@
+  *
+  */
+ #include "fcitxtheme.h"
++#include <algorithm>
+ #include <cassert>
+ #include <fcntl.h>
+ #include <fmt/format.h>



Home | Main Index | Thread Index | Old Index