pkgsrc-Changes archive

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

CVS commit: pkgsrc/inputmethod/fcitx5-chinese-addons



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 20 18:02:49 UTC 2026

Modified Files:
        pkgsrc/inputmethod/fcitx5-chinese-addons: Makefile distinfo
Added Files:
        pkgsrc/inputmethod/fcitx5-chinese-addons/patches:
            patch-im_pinyin_customphrase.cpp

Log Message:
fcitx5-chinese-addons: fix build with fmt 1.12

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/inputmethod/fcitx5-chinese-addons/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/inputmethod/fcitx5-chinese-addons/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/inputmethod/fcitx5-chinese-addons/patches/patch-im_pinyin_customphrase.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/fcitx5-chinese-addons/Makefile
diff -u pkgsrc/inputmethod/fcitx5-chinese-addons/Makefile:1.51 pkgsrc/inputmethod/fcitx5-chinese-addons/Makefile:1.52
--- pkgsrc/inputmethod/fcitx5-chinese-addons/Makefile:1.51      Wed Sep  2 19:03:02 2026
+++ pkgsrc/inputmethod/fcitx5-chinese-addons/Makefile   Sun Sep 20 18:02:49 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2026/09/02 19:03:02 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2026/09/20 18:02:49 wiz Exp $
 
 DISTNAME=      fcitx5-chinese-addons-5.1.3
-PKGREVISION=   22
+PKGREVISION=   23
 CATEGORIES=    inputmethod
 MASTER_SITES=  https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/inputmethod/fcitx5-chinese-addons/distinfo
diff -u pkgsrc/inputmethod/fcitx5-chinese-addons/distinfo:1.5 pkgsrc/inputmethod/fcitx5-chinese-addons/distinfo:1.6
--- pkgsrc/inputmethod/fcitx5-chinese-addons/distinfo:1.5       Sat Feb 10 10:05:47 2024
+++ pkgsrc/inputmethod/fcitx5-chinese-addons/distinfo   Sun Sep 20 18:02:49 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2024/02/10 10:05:47 ryoon Exp $
+$NetBSD: distinfo,v 1.6 2026/09/20 18:02:49 wiz Exp $
 
 BLAKE2s (fcitx5-chinese-addons-5.1.3/fcitx5-chinese-addons-5.1.3.tar.xz) = ab4d5d29cdc9780ec3ddf13d17c37c571f0a03453b862c72983ff3e809c26158
 SHA512 (fcitx5-chinese-addons-5.1.3/fcitx5-chinese-addons-5.1.3.tar.xz) = 
6dfae25269dd1ffa74857930f175baa1aa43c7e43febcd5443869943ffdfc2e34a73cf0aa86c188458b5d824c0fe6a4dcf98047d53f8c895b3df81d7e810209f
@@ -9,3 +9,4 @@ Size (fcitx5-chinese-addons-5.1.3/py_str
 BLAKE2s (fcitx5-chinese-addons-5.1.3/py_table-20121124.tar.gz) = 76e90426e63315bbfd804913d7efa4088e8917f68b8b690261997c981ea5246f
 SHA512 (fcitx5-chinese-addons-5.1.3/py_table-20121124.tar.gz) = 0fa72ce6820a316e9729bc0d7a08af5ca3468134de9ff1bf0c559a398846a7bcf7313a3609d943e6bab637d930cf45ad9acfe25a8d3df078a774b071a7296486
 Size (fcitx5-chinese-addons-5.1.3/py_table-20121124.tar.gz) = 186822 bytes
+SHA1 (patch-im_pinyin_customphrase.cpp) = fe61db188a8e29edd932b25ec8bb237bbe0c55f9

Added files:

Index: pkgsrc/inputmethod/fcitx5-chinese-addons/patches/patch-im_pinyin_customphrase.cpp
diff -u /dev/null pkgsrc/inputmethod/fcitx5-chinese-addons/patches/patch-im_pinyin_customphrase.cpp:1.1
--- /dev/null   Sun Sep 20 18:02:49 2026
+++ pkgsrc/inputmethod/fcitx5-chinese-addons/patches/patch-im_pinyin_customphrase.cpp   Sun Sep 20 18:02:49 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-im_pinyin_customphrase.cpp,v 1.1 2026/09/20 18:02:49 wiz Exp $
+
+fmt::localtime was removed in fmt 1.12.
+
+--- im/pinyin/customphrase.cpp.orig    2026-09-20 17:51:01.949877388 +0000
++++ im/pinyin/customphrase.cpp
+@@ -114,7 +114,10 @@ inline std::tm currentTm() {
+     std::chrono::system_clock::time_point now =
+         std::chrono::system_clock::now();
+     std::time_t currentTime = std::chrono::system_clock::to_time_t(now);
+-    return fmt::localtime(currentTime);
++
++    std::tm localtime{};
++    localtime_r(&currentTime, &localtime);
++    return localtime;
+ #endif
+ }
+ 



Home | Main Index | Thread Index | Old Index