unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob a74c67c75141496b728a6db3c5ddf13d9534656c 917 bytes (raw)
name: gnu/packages/patches/librime-add-missing-includes.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
From: Felix Gruber <felgru@posteo.net>
Date: Mon, 6 Sep 2021 19:38:17 +0200
Subject: [PATCH] Add missing <cmath> includes

diff --git a/src/rime/gear/script_translator.cc b/src/rime/gear/script_translator.cc
index 4a45f05..515c8db 100644
--- a/src/rime/gear/script_translator.cc
+++ b/src/rime/gear/script_translator.cc
@@ -7,6 +7,7 @@
 // 2011-07-10 GONG Chen <chen.sst@gmail.com>
 //
 #include <algorithm>
+#include <cmath>
 #include <stack>
 #include <boost/algorithm/string/join.hpp>
 #include <boost/range/adaptor/reversed.hpp>
diff --git a/src/rime/gear/table_translator.cc b/src/rime/gear/table_translator.cc
index 162ac02..dbea76a 100644
--- a/src/rime/gear/table_translator.cc
+++ b/src/rime/gear/table_translator.cc
@@ -4,6 +4,7 @@
 //
 // 2011-07-10 GONG Chen <chen.sst@gmail.com>
 //
+#include <cmath>
 #include <boost/algorithm/string.hpp>
 #include <boost/range/adaptor/reversed.hpp>
 #include <utf8.h>

debug log:

solving a74c67c751 ...
found a74c67c751 in https://yhetil.org/guix-patches/20210906174244.7686-1-felgru@posteo.net/

applying [1/1] https://yhetil.org/guix-patches/20210906174244.7686-1-felgru@posteo.net/
diff --git a/gnu/packages/patches/librime-add-missing-includes.patch b/gnu/packages/patches/librime-add-missing-includes.patch
new file mode 100644
index 0000000000..a74c67c751

Checking patch gnu/packages/patches/librime-add-missing-includes.patch...
Applied patch gnu/packages/patches/librime-add-missing-includes.patch cleanly.

index at:
100644 a74c67c75141496b728a6db3c5ddf13d9534656c	gnu/packages/patches/librime-add-missing-includes.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).