app-i18n/librime: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2025-02-09 09:54:02 +01:00
committed by Conrad Kostecki
parent 74ec7e2bfe
commit 00c67c8d13
2 changed files with 0 additions and 48 deletions

View File

@@ -1,24 +0,0 @@
https://github.com/rime/librime/issues/462
https://github.com/rime/librime/pull/463
https://github.com/rime/librime/commit/57cffcd02ac70148e21ce982be834876b3df87db
--- a/src/rime/gear/script_translator.cc
+++ b/src/rime/gear/script_translator.cc
@@ -8,6 +8,7 @@
//
#include <algorithm>
#include <stack>
+#include <cmath>
#include <boost/algorithm/string/join.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <rime/composition.h>
--- a/src/rime/gear/table_translator.cc
+++ b/src/rime/gear/table_translator.cc
@@ -6,6 +6,7 @@
//
#include <boost/algorithm/string.hpp>
#include <boost/range/adaptor/reversed.hpp>
+#include <cmath>
#include <utf8.h>
#include <rime/candidate.h>
#include <rime/common.h>

View File

@@ -1,24 +0,0 @@
https://bugs.gentoo.org/933408
--- a/src/rime/lever/deployment_tasks.cc
+++ b/src/rime/lever/deployment_tasks.cc
@@ -577,7 +577,7 @@
continue;
}
boost::system::error_code ec;
- fs::copy_file(entry, backup, fs::copy_option::overwrite_if_exists, ec);
+ fs::copy_file(entry, backup, fs::copy_options::overwrite_existing, ec);
if (ec) {
LOG(ERROR) << "error backing up file " << backup.string();
++failure;
--- a/src/rime/lever/customizer.cc
+++ b/src/rime/lever/customizer.cc
@@ -94,7 +94,7 @@
if (redistribute || (is_dirty && !missing_original_copy)) {
try {
fs::copy_file(source_path_, dest_path_,
- fs::copy_option::overwrite_if_exists);
+ fs::copy_options::overwrite_existing);
}
catch (...) {
LOG(ERROR) << "Error copying config file '"