summaryrefslogtreecommitdiff
path: root/app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-11 03:33:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-11 03:33:50 +0100
commit9b97cf60d2411c33c1b2170b730b345ea9995002 (patch)
tree20f1731a35de056eaa5e40343e8aa59e6d1cc564 /app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch
parent9cb92979365e38a8c7ac40e7fd7475b99fe1e7ba (diff)
gentoo auto-resync : 11:08:2023 - 03:33:50
Diffstat (limited to 'app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch')
-rw-r--r--app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch b/app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch
new file mode 100644
index 000000000000..5f0d63b0ec33
--- /dev/null
+++ b/app-emulation/wine-staging/files/wine-staging-8.13-rpath.patch
@@ -0,0 +1,15 @@
+Patch Source: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/wine/rpath.patch
+Alpine Bug: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13249
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -784,6 +784,9 @@ case $host_os in
+ [WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"])
+ ;;
+ esac
++
++ # do this at the end because it needs double dollar for makefile
++ WINE_TRY_CFLAGS([-Wl,-rpath,\\\$ORIGIN],[UNIXLDFLAGS="$UNIXLDFLAGS '-Wl,-rpath,\$\$ORIGIN'"])
+ ;;
+ esac
+