pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/librime librime: updated to 1.7.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75bd5fbee2dd
branches:  trunk
changeset: 382796:75bd5fbee2dd
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Aug 05 13:02:35 2022 +0000

description:
librime: updated to 1.7.3

librime 1.7.3

Bug Fixes

memory: possibly dereferencing null pointer
plugins: buffer overflow in plugin lotem/librime-octagram

diffstat:

 inputmethod/librime/Makefile                              |   8 ++---
 inputmethod/librime/distinfo                              |   9 ++---
 inputmethod/librime/patches/patch-src_rime_gear_memory.cc |  22 ---------------
 3 files changed, 7 insertions(+), 32 deletions(-)

diffs (65 lines):

diff -r 9f7645fa3eb1 -r 75bd5fbee2dd inputmethod/librime/Makefile
--- a/inputmethod/librime/Makefile      Fri Aug 05 13:02:02 2022 +0000
+++ b/inputmethod/librime/Makefile      Fri Aug 05 13:02:35 2022 +0000
@@ -1,9 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2022/01/10 01:46:38 ryoon Exp $
+# $NetBSD: Makefile,v 1.28 2022/08/05 13:02:35 adam Exp $
 
-GITHUB_PROJECT=        librime
-GITHUB_TAG=    ${PKGVERSION_NOREV}
-DISTNAME=      librime-1.7.2
-PKGREVISION=   3
+DISTNAME=      librime-1.7.3
 CATEGORIES=    inputmethod chinese
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rime/}
 
@@ -26,6 +23,7 @@
 .include "../../databases/leveldb/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/capnproto/buildlink3.mk"
+.include "../../devel/gflags/buildlink3.mk"
 .include "../../devel/google-glog/buildlink3.mk"
 .include "../../devel/snappy/buildlink3.mk"
 .include "../../textproc/marisa/buildlink3.mk"
diff -r 9f7645fa3eb1 -r 75bd5fbee2dd inputmethod/librime/distinfo
--- a/inputmethod/librime/distinfo      Fri Aug 05 13:02:02 2022 +0000
+++ b/inputmethod/librime/distinfo      Fri Aug 05 13:02:35 2022 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.10 2022/04/25 22:29:15 tnn Exp $
+$NetBSD: distinfo,v 1.11 2022/08/05 13:02:35 adam Exp $
 
-BLAKE2s (librime-1.7.2.tar.gz) = 9d5a3ac67c7c3019196e9c18f847e2b8ae92c0c949a3ba71cf60a5bb6758c2f6
-SHA512 (librime-1.7.2.tar.gz) = 213f14b2f3e09fd93dffe2b6ce0d4a2651f1759c3df2929885ec6a3e036f343f1d07127a82a22378bd95677a5a45395d6bb7d884e12d40a3a160d0e9ef24a6ba
-Size (librime-1.7.2.tar.gz) = 2859403 bytes
+BLAKE2s (librime-1.7.3.tar.gz) = ccda7fe5c2bdd91d84cc157c1ecc9d627566e6caa5779e07944a73c013b6a655
+SHA512 (librime-1.7.3.tar.gz) = 8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0
+Size (librime-1.7.3.tar.gz) = 2859513 bytes
 SHA1 (patch-CMakeLists.txt) = 930aafc5967ae962f6fd70aa76f0b962107a8b7f
 SHA1 (patch-plugins_CMakeLists.txt) = ab0b528c0a9219c52d0a8ca596209799db9de14a
-SHA1 (patch-src_rime_gear_memory.cc) = aba74cf976cb934362d5fcb8eea53751878f2d9f
diff -r 9f7645fa3eb1 -r 75bd5fbee2dd inputmethod/librime/patches/patch-src_rime_gear_memory.cc
--- a/inputmethod/librime/patches/patch-src_rime_gear_memory.cc Fri Aug 05 13:02:02 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-src_rime_gear_memory.cc,v 1.1 2021/02/20 20:53:01 ryoon Exp $
-
-fix(memory): possibly dereferencing null pointer 
-From: https://github.com/rime/librime/commit/1c2644de2b026972dd80a3770b92d7194d523303
-
---- src/rime/gear/memory.cc
-+++ src/rime/gear/memory.cc
-@@ -68,10 +68,10 @@ Memory::Memory(const Ticket& ticket) {
- 
-   // user dictionary is named after language; dictionary name may have an
-   // optional suffix separated from the language component by dot.
--  language_.reset(new Language{
--    user_dict_ ? user_dict_->name() :
--    Language::get_language_component(dict_->name())
--  });
-+  language_.reset(
-+      user_dict_ ? new Language{user_dict_->name()} :
-+      dict_ ? new Language{Language::get_language_component(dict_->name())} :
-+      nullptr);
- 
-   Context* ctx = ticket.engine->context();
-   commit_connection_ = ctx->commit_notifier().connect(



Home | Main Index | Thread Index | Old Index