diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-07-12 19:33:08 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-07-17 00:22:34 +0100 |
commit | 6419b3e65443b6d29c77c3ad45adb2820e0c51e3 (patch) | |
tree | bf28d002b70c2fb2a6822c328baa8173b2bf4ef1 /app-emulation/wine-staging/files | |
parent | app-emulation/wine-vanilla: revert winegcc '=' parameter handling (diff) | |
download | gentoo-6419b3e65443b6d29c77c3ad45adb2820e0c51e3.tar.gz gentoo-6419b3e65443b6d29c77c3ad45adb2820e0c51e3.tar.bz2 gentoo-6419b3e65443b6d29c77c3ad45adb2820e0c51e3.zip |
app-emulation/wine-staging: revert winegcc '=' parameter handling
LDFLAGS=-Wl,--defsym=__gentoo_check_ldflags__=0 causes
app-emulation/wine-staging-6.12 build failures in form of:
```
tools/winegcc/winegcc -o dlls/acledit/acledit.dll.so ... \
-Wl,--defsym=__gentoo_check_ldflags__=0
ld:--defsym:0: syntax error
collect2: error: ld returned 1 exit status
winegcc: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc failed
```
The change is a revert of upstream commit fcda0afd
("winegcc: Support -Wl,foo=... style linker options.")
Bug: https://bugs.winehq.org/show_bug.cgi?id=51413
Closes: https://bugs.gentoo.org/800809
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation/wine-staging/files')
-rw-r--r-- | app-emulation/wine-staging/files/wine-staging-6.12-winegcc-equals-args.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/wine-staging/files/wine-staging-6.12-winegcc-equals-args.patch b/app-emulation/wine-staging/files/wine-staging-6.12-winegcc-equals-args.patch new file mode 100644 index 000000000000..562b63af063a --- /dev/null +++ b/app-emulation/wine-staging/files/wine-staging-6.12-winegcc-equals-args.patch @@ -0,0 +1,13 @@ +https://bugs.winehq.org/show_bug.cgi?id=51413 +https://bugs.gentoo.org/800809 +--- a/tools/winegcc/winegcc.c ++++ b/tools/winegcc/winegcc.c +@@ -1982,7 +1982,7 @@ int main(int argc, char **argv) + if (strncmp("-Wl,", opts.args->base[i], 4) == 0) + { + unsigned int j; +- strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",="); ++ strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ","); + for (j = 0; j < Wl->size; j++) + { + if (!strcmp(Wl->base[j], "--image-base") && j < Wl->size - 1) |