summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-09-18 21:30:01 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-09-18 21:30:01 +0100
commit1f014b9e3076d1030d9ec9ef230be6b06b13002d (patch)
tree150b43663ad067cc903bdd738d88564bd0156e6c
parent736ca2000540339dfedad8ffc6e794154dba2ba4 (diff)
minor fix for steam on optimus laptops
-rwxr-xr-xapp-emulation/steam/files/kogaion-steam1
-rw-r--r--app-emulation/steam/steam-1.0.0.45-r6.ebuild (renamed from app-emulation/steam/steam-1.0.0.45-r5.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 638bb484..02e5f2a9 100755
--- a/app-emulation/steam/files/kogaion-steam
+++ b/app-emulation/steam/files/kogaion-steam
@@ -25,6 +25,7 @@ preload_some_system_libs () {
echo ""
echo "nvidia optimus detected, we will not preload nvidia libs"
echo ""
+ export __GLVND_DISALLOW_PATCHING=1
elif [[ "$(lsmod|grep nvidia)" && ! "$(lsmod|grep bbswitch)" ]] ; then
echo ""
echo "nvidia optimus not detected, we will preload nvidia libs"
diff --git a/app-emulation/steam/steam-1.0.0.45-r5.ebuild b/app-emulation/steam/steam-1.0.0.45-r6.ebuild
index 5d2ebc9d..5d2ebc9d 100644
--- a/app-emulation/steam/steam-1.0.0.45-r5.ebuild
+++ b/app-emulation/steam/steam-1.0.0.45-r6.ebuild