mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
net-p2p/syncthing: port previously dropped patch
Closes: https://bugs.gentoo.org/955442 Signed-off-by: Filip Kobierski <fkobi@pm.me> Part-of: https://github.com/gentoo/gentoo/pull/41941 Closes: https://github.com/gentoo/gentoo/pull/41941 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
parent
9bbd1d0cda
commit
1e0dff7352
@ -0,0 +1,15 @@
|
||||
This patch removes conditional appending of "-race" flag.
|
||||
It is needed as we build in PIE mode and race is incompatible with that.
|
||||
|
||||
https://bugs.gentoo.org/955442
|
||||
--- a/build.go
|
||||
+++ b/build.go
|
||||
@@ -396,7 +396,7 @@
|
||||
}
|
||||
args = append(args, "-timeout", timeout)
|
||||
|
||||
- if runtime.GOARCH == "amd64" {
|
||||
+ if false {
|
||||
switch runtime.GOOS {
|
||||
case buildpkg.Darwin, buildpkg.Linux, buildpkg.FreeBSD: // , "windows": # See https://github.com/golang/go/issues/27089
|
||||
args = append(args, "-race")
|
||||
@ -31,6 +31,7 @@ DOCS=( AUTHORS {GOALS,README}.md )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch
|
||||
"${FILESDIR}"/${PN}-1.18.4-tool_users.patch
|
||||
"${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user