pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/libime libime: fix building on netbsd/current



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c39f0e8f07de
branches:  trunk
changeset: 769168:c39f0e8f07de
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 09 10:15:35 2021 +0000

description:
libime: fix building on netbsd/current

diffstat:

 inputmethod/libime/distinfo                                 |   3 +-
 inputmethod/libime/patches/patch-test_testhistorybigram.cpp |  15 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r cd487a1c0c5d -r c39f0e8f07de inputmethod/libime/distinfo
--- a/inputmethod/libime/distinfo       Tue Nov 09 10:12:43 2021 +0000
+++ b/inputmethod/libime/distinfo       Tue Nov 09 10:15:35 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:49:37 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/11/09 10:15:35 nia Exp $
 
 BLAKE2s (libime-1.0.4/dict.utf8-20210203.tar.xz) = 2287e6830f07221b37f15a59ad5fbcf789fd22f9d7f3122493d0d05e3bd61389
 SHA512 (libime-1.0.4/dict.utf8-20210203.tar.xz) = b0ed22a7898cd7ddb6f4a9f3bed32b270ea3d1080bc060f420cc5e4599892b0afca80364779741bfc19b6466d3d0ded89d8b3465c64c50a8892129971045d7ab
@@ -13,3 +13,4 @@
 SHA512 (libime-1.0.4/table.tar.gz) = 99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9
 Size (libime-1.0.4/table.tar.gz) = 4144686 bytes
 SHA1 (patch-data_CMakeLists.txt) = 54007355fa7e0adb145e97dd94225dd5a224a668
+SHA1 (patch-test_testhistorybigram.cpp) = 8126138a1ecd4ff74f4ba79d4c517f5a43d985ae
diff -r cd487a1c0c5d -r c39f0e8f07de inputmethod/libime/patches/patch-test_testhistorybigram.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/libime/patches/patch-test_testhistorybigram.cpp       Tue Nov 09 10:15:35 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-test_testhistorybigram.cpp,v 1.1 2021/11/09 10:15:36 nia Exp $
+
+std:log10() needs <cmath> to be included.
+Fixes building on NetBSD 9.99.x.
+
+--- test/testhistorybigram.cpp.orig    2020-05-27 17:33:52.118881000 +0000
++++ test/testhistorybigram.cpp
+@@ -8,6 +8,7 @@
+ #include <boost/range/irange.hpp>
+ #include <fcitx-utils/log.h>
+ #include <sstream>
++#include <cmath>
+ 
+ void testBasic() {
+     using namespace libime;



Home | Main Index | Thread Index | Old Index