pkgsrc-Changes archive

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

CVS commit: pkgsrc/inputmethod/libime



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Nov  9 10:15:36 UTC 2021

Modified Files:
        pkgsrc/inputmethod/libime: distinfo
Added Files:
        pkgsrc/inputmethod/libime/patches: patch-test_testhistorybigram.cpp

Log Message:
libime: fix building on netbsd/current


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/inputmethod/libime/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/inputmethod/libime/patches/patch-test_testhistorybigram.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/inputmethod/libime/distinfo
diff -u pkgsrc/inputmethod/libime/distinfo:1.5 pkgsrc/inputmethod/libime/distinfo:1.6
--- pkgsrc/inputmethod/libime/distinfo:1.5      Tue Oct 26 10:49:37 2021
+++ pkgsrc/inputmethod/libime/distinfo  Tue Nov  9 10:15:35 2021
@@ -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 @@ BLAKE2s (libime-1.0.4/table.tar.gz) = c4
 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

Added files:

Index: pkgsrc/inputmethod/libime/patches/patch-test_testhistorybigram.cpp
diff -u /dev/null pkgsrc/inputmethod/libime/patches/patch-test_testhistorybigram.cpp:1.1
--- /dev/null   Tue Nov  9 10:15:36 2021
+++ pkgsrc/inputmethod/libime/patches/patch-test_testhistorybigram.cpp  Tue Nov  9 10:15:36 2021
@@ -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