all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 5bae58401c325c95d5e65a854b6374805c1abab2 5054 bytes (raw)
name: gnu/packages/patches/kaldi-Fix-vector-casts-by-using-explicit-namespace.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
 
---
 src/onlinebin/online-audio-server-decode-faster.cc | 2 +-
 src/onlinebin/online-gmm-decode-faster.cc          | 4 ++--
 src/onlinebin/online-server-gmm-decode-faster.cc   | 4 ++--
 src/onlinebin/online-wav-gmm-decode-faster.cc      | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/onlinebin/online-audio-server-decode-faster.cc b/src/onlinebin/online-audio-server-decode-faster.cc
index ca4bfeb88..e5faf9530 100644
--- a/src/onlinebin/online-audio-server-decode-faster.cc
+++ b/src/onlinebin/online-audio-server-decode-faster.cc
@@ -308,7 +308,7 @@ int32 main(int argc, char *argv[]) {
         } else {
           std::vector<int32> word_ids;
           if (decoder.PartialTraceback(&out_fst)) {
-            GetLinearSymbolSequence(out_fst, static_cast<vector<int32> *>(0),
+            GetLinearSymbolSequence(out_fst, static_cast<std::vector<int32> *>(0),
                                     &word_ids,
                                     static_cast<LatticeArc::Weight*>(0));
             for (size_t i = 0; i < word_ids.size(); i++) {
diff --git a/src/onlinebin/online-gmm-decode-faster.cc b/src/onlinebin/online-gmm-decode-faster.cc
index 46904dbc5..74f381658 100644
--- a/src/onlinebin/online-gmm-decode-faster.cc
+++ b/src/onlinebin/online-gmm-decode-faster.cc
@@ -166,7 +166,7 @@ int main(int argc, char *argv[]) {
         std::vector<int32> word_ids;
         decoder.FinishTraceBack(&out_fst);
         fst::GetLinearSymbolSequence(out_fst,
-                                     static_cast<vector<int32> *>(0),
+                                     static_cast<std::vector<int32> *>(0),
                                      &word_ids,
                                      static_cast<LatticeArc::Weight*>(0));
         PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size());
@@ -181,7 +181,7 @@ int main(int argc, char *argv[]) {
         std::vector<int32> word_ids;
         if (decoder.PartialTraceback(&out_fst)) {
           fst::GetLinearSymbolSequence(out_fst,
-                                       static_cast<vector<int32> *>(0),
+                                       static_cast<std::vector<int32> *>(0),
                                        &word_ids,
                                        static_cast<LatticeArc::Weight*>(0));
           PrintPartialResult(word_ids, word_syms, false);
diff --git a/src/onlinebin/online-server-gmm-decode-faster.cc b/src/onlinebin/online-server-gmm-decode-faster.cc
index 80973bf07..9840c0f88 100644
--- a/src/onlinebin/online-server-gmm-decode-faster.cc
+++ b/src/onlinebin/online-server-gmm-decode-faster.cc
@@ -179,7 +179,7 @@ int main(int argc, char *argv[]) {
       if (dstate & (decoder.kEndFeats | decoder.kEndUtt)) {
         decoder.FinishTraceBack(&out_fst);
         fst::GetLinearSymbolSequence(out_fst,
-                                     static_cast<vector<int32> *>(0),
+                                     static_cast<std::vector<int32> *>(0),
                                      &word_ids,
                                      static_cast<LatticeArc::Weight*>(0));
         SendPartialResult(word_ids, word_syms, partial_res || word_ids.size(),
@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
       } else {
         if (decoder.PartialTraceback(&out_fst)) {
           fst::GetLinearSymbolSequence(out_fst,
-                                       static_cast<vector<int32> *>(0),
+                                       static_cast<std::vector<int32> *>(0),
                                        &word_ids,
                                        static_cast<LatticeArc::Weight*>(0));
           SendPartialResult(word_ids, word_syms, false,
diff --git a/src/onlinebin/online-wav-gmm-decode-faster.cc b/src/onlinebin/online-wav-gmm-decode-faster.cc
index fe7c6d6b9..ca482934d 100644
--- a/src/onlinebin/online-wav-gmm-decode-faster.cc
+++ b/src/onlinebin/online-wav-gmm-decode-faster.cc
@@ -196,7 +196,7 @@ int main(int argc, char *argv[]) {
           std::vector<int32> word_ids;
           decoder.FinishTraceBack(&out_fst);
           fst::GetLinearSymbolSequence(out_fst,
-                                       static_cast<vector<int32> *>(0),
+                                       static_cast<std::vector<int32> *>(0),
                                        &word_ids,
                                        static_cast<LatticeArc::Weight*>(0));
           PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size());
@@ -220,7 +220,7 @@ int main(int argc, char *argv[]) {
           std::vector<int32> word_ids;
           if (decoder.PartialTraceback(&out_fst)) {
             fst::GetLinearSymbolSequence(out_fst,
-                                        static_cast<vector<int32> *>(0),
+                                        static_cast<std::vector<int32> *>(0),
                                         &word_ids,
                                         static_cast<LatticeArc::Weight*>(0));
             PrintPartialResult(word_ids, word_syms, false);
-- 
2.30.2


debug log:

solving 5bae584 ...
found 5bae584 in https://yhetil.org/guix/20220321174249.2408-1-rind38@disroot.org/

applying [1/1] https://yhetil.org/guix/20220321174249.2408-1-rind38@disroot.org/
diff --git a/gnu/packages/patches/kaldi-Fix-vector-casts-by-using-explicit-namespace.patch b/gnu/packages/patches/kaldi-Fix-vector-casts-by-using-explicit-namespace.patch
new file mode 100644
index 0000000..5bae584

1:93: trailing whitespace.
-- 
Checking patch gnu/packages/patches/kaldi-Fix-vector-casts-by-using-explicit-namespace.patch...
1:95: new blank line at EOF.
+
Applied patch gnu/packages/patches/kaldi-Fix-vector-casts-by-using-explicit-namespace.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 5bae58401c325c95d5e65a854b6374805c1abab2	gnu/packages/patches/kaldi-Fix-vector-casts-by-using-explicit-namespace.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.