-
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 #7 from carapace-sh/fix-patches
fix patches
- Loading branch information
Showing
3 changed files
with
14 additions
and
40 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,23 +1,6 @@ | ||
diff --git a/go-src/src/runtime/plugin.go b/go-src/src/runtime/plugin.go | ||
index 40dfefde17..eb933a8313 100644 | ||
--- a/go-src/src/runtime/plugin.go | ||
+++ b/go-src/src/runtime/plugin.go | ||
@@ -48,12 +48,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() | ||
diff --git a/go-src b/go-src | ||
--- a/go-src | ||
+++ b/go-src | ||
@@ -1 +1 @@ | ||
-Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e | ||
+Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e-dirty |
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: 6 additions & 15 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,15 +1,6 @@ | ||
diff --git a/go-src/src/cmd/go/internal/cfg/cfg.go b/go-src/src/cmd/go/internal/cfg/cfg.go | ||
index a8daa2d..e532d5c 100644 | ||
--- a/go-src/src/cmd/go/internal/cfg/cfg.go | ||
+++ b/go-src/src/cmd/go/internal/cfg/cfg.go | ||
@@ -416,8 +416,8 @@ var ( | ||
GOPPC64 = envOr("GOPPC64", fmt.Sprintf("%s%d", "power", buildcfg.GOPPC64)) | ||
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) | ||
diff --git a/go-src b/go-src | ||
--- a/go-src | ||
+++ b/go-src | ||
@@ -1 +1 @@ | ||
-Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e | ||
+Subproject commit 619b419a4b1506bde1aa7e833898f2f67fd0e83e-dirty |