-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from carapace-sh/fix-patching
fix patching
- Loading branch information
Showing
6 changed files
with
54 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
diff --git a/go-src b/go-src | ||
--- a/go-src | ||
+++ b/go-src | ||
@@ -1 +1 @@ | ||
-Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e | ||
+Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e-dirty | ||
diff --git a/src/runtime/plugin.go b/src/runtime/plugin.go | ||
index 4b6821b..40d1158 100644 | ||
--- a/src/runtime/plugin.go | ||
+++ b/src/runtime/plugin.go | ||
@@ -51,12 +51,12 @@ func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*ini | ||
throw("plugin: new module data overlaps with previous moduledata") | ||
} | ||
} | ||
- for _, pkghash := range md.pkghashes { | ||
- if pkghash.linktimehash != *pkghash.runtimehash { | ||
- md.bad = true | ||
- return "", nil, nil, "plugin was built with a different version of package " + pkghash.modulename | ||
- } | ||
- } | ||
+ // for _, pkghash := range md.pkghashes { | ||
+ // if pkghash.linktimehash != *pkghash.runtimehash { | ||
+ // md.bad = true | ||
+ // return "", nil, nil, "plugin was built with a different version of package " + pkghash.modulename | ||
+ // } | ||
+ // } | ||
|
||
// Initialize the freshly loaded module. | ||
modulesinit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 15 additions & 6 deletions
21
termux/2-fix-GOPROXY-and-GOSUMDB-default-is-empty/patch.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
diff --git a/go-src b/go-src | ||
--- a/go-src | ||
+++ b/go-src | ||
@@ -1 +1 @@ | ||
-Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e | ||
+Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e-dirty | ||
diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go | ||
index afb595a..f74f980 100644 | ||
--- a/src/cmd/go/internal/cfg/cfg.go | ||
+++ b/src/cmd/go/internal/cfg/cfg.go | ||
@@ -411,8 +411,8 @@ var ( | ||
GORISCV64 = envOr("GORISCV64", fmt.Sprintf("rva%du64", buildcfg.GORISCV64)) | ||
GOWASM = envOr("GOWASM", fmt.Sprint(buildcfg.GOWASM)) | ||
|
||
- GOPROXY = envOr("GOPROXY", "") | ||
- GOSUMDB = envOr("GOSUMDB", "") | ||
+ GOPROXY = envOr("GOPROXY", "https://proxy.golang.org,direct") | ||
+ GOSUMDB = envOr("GOSUMDB", "sum.golang.org") | ||
GOPRIVATE = Getenv("GOPRIVATE") | ||
GONOPROXY = envOr("GONOPROXY", GOPRIVATE) | ||
GONOSUMDB = envOr("GONOSUMDB", GOPRIVATE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters