FreeBSD Bugzilla – Attachment 226664 Details for
Bug 257399
emulators/wine-proton: point Vulkan loader at 32-bit Mesa libs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
i386 mesa fixes
i386-mesa-fixes.patch (text/plain), 1.77 KB, created by
Alex S
on 2021-07-25 00:38:57 UTC
(
hide
)
Description:
i386 mesa fixes
Filename:
MIME Type:
Creator:
Alex S
Created:
2021-07-25 00:38:57 UTC
Size:
1.77 KB
patch
obsolete
>diff --git a/emulators/wine-proton/files/wine-wow64.sh b/emulators/wine-proton/files/wine-wow64.sh >index 9efb09fc3d3b..e5b414ea2d93 100644 >--- a/emulators/wine-proton/files/wine-wow64.sh >+++ b/emulators/wine-proton/files/wine-wow64.sh >@@ -5,16 +5,6 @@ LOCALBASE="${PREFIX%/*}" > > I386_ROOT="${WINE_i386_ROOT:-$HOME/.i386-wine-pkg}" > >-export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri" >-export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$PREFIX/lib/wine:$LOCALBASE/lib32:$I386_ROOT/$LOCALBASE/lib:$I386_ROOT/$LOCALBASE/llvm10/lib:$I386_ROOT/$LOCALBASE/llvm11/lib" >-export LD_32_LIBRARY_PATH_RPATH=y >- >-if [ -z "$WINE_NO_WOW64" ] >-then >- export PATH="${TARGET%/*}:${PATH}" >- export WINESERVER="${TARGET}server" >-fi >- > if [ ! -f "$I386_ROOT/$PREFIX/bin/wine" ] > then > printf "%s doesn't exist!\n\n" "$I386_ROOT/$PREFIX/bin/wine" >@@ -31,4 +21,25 @@ then > exit 1 > fi > >+export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri" >+export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$PREFIX/lib/wine:$LOCALBASE/lib32:$I386_ROOT/$LOCALBASE/lib" >+for d in "$I386_ROOT/$LOCALBASE"/llvm*/lib >+do >+ if [ -d "$d" ] >+ then >+ export LD_32_LIBRARY_PATH="$LD_32_LIBRARY_PATH:$d" >+ fi >+done >+export LD_32_LIBRARY_PATH_RPATH=y >+export LD_32_LIBMAP=" >+$LOCALBASE/lib/libvulkan_intel.so $I386_ROOT/$LOCALBASE/lib/libvulkan_intel.so >+$LOCALBASE/lib/libvulkan_radeon.so $I386_ROOT/$LOCALBASE/lib/libvulkan_radeon.so >+$LD_32_LIBMAP" >+ >+if [ -z "$WINE_NO_WOW64" ] >+then >+ export PATH="${TARGET%/*}:${PATH}" >+ export WINESERVER="${TARGET}server" >+fi >+ > exec "$I386_ROOT/$PREFIX/bin/wine" "$@"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
iwtcex
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 257399
: 226664