diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-29 22:40:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-29 22:40:34 +0100 |
commit | a984494e5a73cca4db8adb6b670fbd04c3af955f (patch) | |
tree | 42fb126a10dcdf0eb3b706f55c19374398ea43c3 /games-util/lutris/files | |
parent | 303f772eff7a30f470d9fb207d69b6a1207b8cab (diff) |
gentoo auto-resync : 29:07:2023 - 22:40:34
Diffstat (limited to 'games-util/lutris/files')
-rw-r--r-- | games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch b/games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch new file mode 100644 index 000000000000..d048a807b08d --- /dev/null +++ b/games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch @@ -0,0 +1,22 @@ +diff --git a/lutris/util/wine/wine.py b/lutris/util/wine/wine.py +index f84584b..fa36d0c 100644 +--- a/lutris/util/wine/wine.py ++++ b/lutris/util/wine/wine.py +@@ -19,7 +19,7 @@ WINE_PATHS = { + "winehq-devel": "/opt/wine-devel/bin/wine", + "winehq-staging": "/opt/wine-staging/bin/wine", + "wine-development": "/usr/lib/wine-development/wine", +- "system": "wine", ++ "system": "/etc/eselect/wine/bin/wine", + } + + ESYNC_LIMIT_CHECK = os.environ.get("ESYNC_LIMIT_CHECK", "").lower() +@@ -273,7 +273,7 @@ def get_wine_version(wine_path="wine"): + return + if wine_path == "wine" and not system.find_executable("wine"): + return +- if os.path.isabs(wine_path): ++ if os.path.isabs(wine_path) and not os.path.islink(wine_path): + wine_stats = os.stat(wine_path) + if wine_stats.st_size < 2000: + # This version is a script, ignore it |