diff options
author | CoprDistGit <infra@openeuler.org> | 2025-06-21 02:59:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-06-21 02:59:45 +0000 |
commit | 5309c3e1649ab28625f065a47908194c9ab267f0 (patch) | |
tree | 069c01b95f083d46189b28cf08c1a21a88a20dea /librime-fixes-setup-log.patch | |
parent | d6057b2421febca43a4f839494250e8911ffccf7 (diff) |
automatic import of librime
Diffstat (limited to 'librime-fixes-setup-log.patch')
-rw-r--r-- | librime-fixes-setup-log.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/librime-fixes-setup-log.patch b/librime-fixes-setup-log.patch new file mode 100644 index 0000000..4e3b9aa --- /dev/null +++ b/librime-fixes-setup-log.patch @@ -0,0 +1,17 @@ +Index: librime-1.12.0/src/rime/setup.cc +=================================================================== +--- librime-1.12.0.orig/src/rime/setup.cc ++++ librime-1.12.0/src/rime/setup.cc +@@ -9,6 +9,12 @@ + + #ifdef RIME_ENABLE_LOGGING + #include <glog/logging.h> ++namespace google { ++ namespace glog_internal_namespace_ { ++ extern bool IsGoogleLoggingInitialized(); ++ } ++ const auto& IsGoogleLoggingInitialized = glog_internal_namespace_::IsGoogleLoggingInitialized; ++} + #else + #include "no_logging.h" + #endif // RIME_ENABLE_LOGGING |