File: allow-go-119

package info (click to toggle)
golang-inet-netstack 0.0~git20211120.8aa80cf2-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,512 kB
  • sloc: asm: 900; makefile: 4
file content (74 lines) | stat: -rw-r--r-- 2,799 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
Description: Allow go 1.19
 Old rules prevented it, but it works fine.
 .
 golang-inet-netstack (0.0~git20211120.8aa80cf2-6) unstable; urgency=medium
 .
   * Allow building on go 1.19.  Closes: #1017246.
Author: John Goerzen <jgoerzen@complete.org>
Bug-Debian: https://bugs.debian.org/1017246

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2022-09-09

--- golang-inet-netstack-0.0~git20211120.8aa80cf2.orig/gohacks/gohacks_unsafe.go
+++ golang-inet-netstack-0.0~git20211120.8aa80cf2/gohacks/gohacks_unsafe.go
@@ -12,8 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-//go:build go1.13 && !go1.19
-// +build go1.13,!go1.19
+//go:build go1.13
+// +build go1.13
 
 // //go:linkname directives type-checked by checklinkname. Any other
 // non-linkname assumptions outside the Go 1 compatibility guarantee should
--- golang-inet-netstack-0.0~git20211120.8aa80cf2.orig/goid/goid.go
+++ golang-inet-netstack-0.0~git20211120.8aa80cf2/goid/goid.go
@@ -12,8 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-//go:build go1.12 && !go1.19
-// +build go1.12,!go1.19
+//go:build go1.12
+// +build go1.12
 
 // Check type signatures when updating Go version.
 
--- golang-inet-netstack-0.0~git20211120.8aa80cf2.orig/sync/mutex_unsafe.go
+++ golang-inet-netstack-0.0~git20211120.8aa80cf2/sync/mutex_unsafe.go
@@ -3,8 +3,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build go1.13 && !go1.19
-// +build go1.13,!go1.19
+//go:build go1.13
+// +build go1.13
 
 // When updating the build constraint (above), check that syncMutex matches the
 // standard library sync.Mutex definition.
--- golang-inet-netstack-0.0~git20211120.8aa80cf2.orig/sync/runtime_unsafe.go
+++ golang-inet-netstack-0.0~git20211120.8aa80cf2/sync/runtime_unsafe.go
@@ -3,8 +3,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build go1.13 && !go1.19
-// +build go1.13,!go1.19
+//go:build go1.13
+// +build go1.13
 
 // //go:linkname directives type-checked by checklinkname. Any other
 // non-linkname assumptions outside the Go 1 compatibility guarantee should