summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-05-01 19:58:08 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-05-01 19:58:08 +0100
commit2a10bc12f94f44dfd95a21450d5891153e846b1b (patch)
tree7bcc4192bcd340173d84b98712be0a49bbcfa3c8
parentd7c3a7198937685738bbc2b59fdb7fb60d752f38 (diff)
workaround to fix a regression in nvidia drivers that will not allow any source engine games to start (CS:GO), details : https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/610
-rwxr-xr-xapp-emulation/steam/files/kogaion-steam1
-rw-r--r--app-emulation/steam/steam-1.0.0.45-r3.ebuild (renamed from app-emulation/steam/steam-1.0.0.45-r2.ebuild)0
2 files changed, 1 insertions, 0 deletions
diff --git a/app-emulation/steam/files/kogaion-steam b/app-emulation/steam/files/kogaion-steam
index c243c2b2..aac32526 100755
--- a/app-emulation/steam/files/kogaion-steam
+++ b/app-emulation/steam/files/kogaion-steam
@@ -4,6 +4,7 @@ main () {
export LD_PRELOAD='/usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libstdc++.so.6 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libstdc++.so.6'
if [[ "$(lsmod|grep nvidia)" ]] ; then
export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib:/usr/lib64/opengl/nvidia/lib'
+ export __GLVND_DISALLOW_PATCHING=1
fi
export DISPLAY=:0
steam
diff --git a/app-emulation/steam/steam-1.0.0.45-r2.ebuild b/app-emulation/steam/steam-1.0.0.45-r3.ebuild
index 5d2ebc9d..5d2ebc9d 100644
--- a/app-emulation/steam/steam-1.0.0.45-r2.ebuild
+++ b/app-emulation/steam/steam-1.0.0.45-r3.ebuild