On Sun, May 31, 2026 at 07:15:57PM +0200, Christian Weisgerber wrote:
> 
> http://build-failures.rhaalovely.net/amd64/2026-05-30/

[snip]

> inputmethods/libime                 ports@

Use -O1 on datrie.cpp otherwise build fails with SIGSEGV in libime_prediction.
ok?

Index: inputmethods/libime/Makefile
===================================================================
RCS file: /cvs/ports/inputmethods/libime/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- inputmethods/libime/Makefile        23 Mar 2026 06:22:51 -0000      1.13
+++ inputmethods/libime/Makefile        2 Jun 2026 05:07:35 -0000
@@ -1,7 +1,7 @@
 COMMENT =      library to support generic input method implementation
 
 DISTNAME =     libime-1.1.9
-REVISION =     3
+REVISION =     4
 
 SHARED_LIBS += IMECore         0.2 # 0.0
 SHARED_LIBS += IMEPinyin       0.2 # 0.0
Index: inputmethods/libime/patches/patch-src_libime_core_CMakeLists_txt
===================================================================
RCS file: inputmethods/libime/patches/patch-src_libime_core_CMakeLists_txt
diff -N inputmethods/libime/patches/patch-src_libime_core_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ inputmethods/libime/patches/patch-src_libime_core_CMakeLists_txt    2 Jun 
2026 05:07:35 -0000
@@ -0,0 +1,11 @@
+Index: src/libime/core/CMakeLists.txt
+--- src/libime/core/CMakeLists.txt.orig
++++ src/libime/core/CMakeLists.txt
+@@ -69,6 +69,7 @@ ecm_setup_version(PROJECT
+ set(IMECore_SOVERSION 0)
+ 
+ add_library(IMECore SHARED ${LIBIME_SRCS})
++set_source_files_properties(datrie.cpp PROPERTIES COMPILE_OPTIONS "-O1")
+ set_target_properties(IMECore
+                       PROPERTIES VERSION ${IMECore_VERSION}
+                       SOVERSION ${IMECore_SOVERSION}

Reply via email to