summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/wine-staging/files/wine-staging-6.12-winegcc-equals-args.patch')
-rw-r--r--app-emulation/wine-staging/files/wine-staging-6.12-winegcc-equals-args.patch13
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)