File: dont-validate-imports.patch

package info (click to toggle)
golang-github-cznic-mathutil 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,480 kB
  • sloc: makefile: 59
file content (212 lines) | stat: -rw-r--r-- 5,180 bytes parent folder | download
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
From: Alexandre Viau <aviau@debian.org>
Date: Tue, 29 Dec 2020 11:46:04 -0500
Subject: remove import checks

diff --git a/all_test.go b/all_test.go
index beb55c0..7d70281 100644
--- a/all_test.go
+++ b/all_test.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"bytes"
diff --git a/binarylog.go b/binarylog.go
index 5a35c57..4eb7da3 100644
--- a/binarylog.go
+++ b/binarylog.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"math/big"
diff --git a/binarylog_test.go b/binarylog_test.go
index 204bab3..cdb1e87 100644
--- a/binarylog_test.go
+++ b/binarylog_test.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"fmt"
diff --git a/bits.go b/bits.go
index ab51854..fee4c03 100644
--- a/bits.go
+++ b/bits.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"math/big"
diff --git a/envelope.go b/envelope.go
index 71980db..ff8e601 100644
--- a/envelope.go
+++ b/envelope.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"math"
diff --git a/int.go b/int.go
index 7c35787..9beaffc 100644
--- a/int.go
+++ b/int.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"fmt"
diff --git a/int_test.go b/int_test.go
index 7c96976..bffad4e 100644
--- a/int_test.go
+++ b/int_test.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"math/big"
diff --git a/mathutil.go b/mathutil.go
index a73c8a6..e21e25d 100644
--- a/mathutil.go
+++ b/mathutil.go
@@ -75,7 +75,7 @@
 //
 //	func Uint64ToBigInt(n uint64) *big.Int
 //	func Uint64FromBigInt(n *big.Int) (uint64, bool)
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"math"
diff --git a/mersenne/mersenne.go b/mersenne/mersenne.go
index aad001e..24c5f90 100644
--- a/mersenne/mersenne.go
+++ b/mersenne/mersenne.go
@@ -19,7 +19,7 @@ Referenced from above:
 
 	[1] http://en.wikipedia.org/wiki/Mersenne_number
 */
-package mersenne // import "modernc.org/mathutil/mersenne"
+package mersenne
 
 import (
 	"math"
diff --git a/permute.go b/permute.go
index e2ff3d6..82ad791 100644
--- a/permute.go
+++ b/permute.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"sort"
diff --git a/poly.go b/poly.go
index c15e696..52b58ff 100644
--- a/poly.go
+++ b/poly.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"fmt"
diff --git a/primes.go b/primes.go
index ec1e5f5..5e19e2d 100644
--- a/primes.go
+++ b/primes.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"math"
diff --git a/rat.go b/rat.go
index a4829ec..2dc3951 100644
--- a/rat.go
+++ b/rat.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 // QCmpUint32 compares a/b and c/d and returns:
 //
diff --git a/rnd.go b/rnd.go
index 08454cd..157fda5 100644
--- a/rnd.go
+++ b/rnd.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 import (
 	"fmt"
diff --git a/tables.go b/tables.go
index 97ce1f9..f32952c 100644
--- a/tables.go
+++ b/tables.go
@@ -4,7 +4,7 @@
 
 // "Static" data
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 var (
 	// Set bits count in a byte
diff --git a/test_deps.go b/test_deps.go
index bbd5f64..40054dc 100644
--- a/test_deps.go
+++ b/test_deps.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package mathutil // import "modernc.org/mathutil"
+package mathutil
 
 // Pull test dependencies too.
 // Enables easy 'go test X' after 'go get X'