diff options
author | Mario Kicherer <dev@kicherer.org> | 2015-01-01 21:18:19 +0100 |
---|---|---|
committer | Mario Kicherer <dev@kicherer.org> | 2015-01-01 21:18:19 +0100 |
commit | be8ea9c05d2bca27a74b074ba4872cc3eaef13ab (patch) | |
tree | 64d3830789a89568b7036e6424d6944fa2cdfb0a | |
parent | [games-util/steam-launcher] new 1.0.0.49, sync with steam-overlay (diff) | |
download | gamerlay-be8ea9c05d2bca27a74b074ba4872cc3eaef13ab.tar.gz gamerlay-be8ea9c05d2bca27a74b074ba4872cc3eaef13ab.tar.bz2 gamerlay-be8ea9c05d2bca27a74b074ba4872cc3eaef13ab.zip |
[games-util/steam-launcher] added missing patch
-rw-r--r-- | games-util/steam-launcher/files/steam-fix-ld-library-path.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games-util/steam-launcher/files/steam-fix-ld-library-path.patch b/games-util/steam-launcher/files/steam-fix-ld-library-path.patch new file mode 100644 index 0000000..c98ef77 --- /dev/null +++ b/games-util/steam-launcher/files/steam-fix-ld-library-path.patch @@ -0,0 +1,21 @@ +--- steam 2015-01-01 19:14:52.312377741 +0100 ++++ steam_new 2015-01-01 19:13:59.023702762 +0100 +@@ -17,6 +17,18 @@ + # Set up domain for script localization + export TEXTDOMAIN=steam + ++# Steam appends /usr/lib32 to LD_LIBRARY_PATH. We need to make sure that ++# OpenGL implementation dir goes before that, so we need to append it ++# to user's LD_LIBRARY_PATH ourselves. But that's needed only with ++# the new eselect-opengl that uses 000opengl file. ++if [ -f /etc/env.d/000opengl ]; then ++ . /etc/env.d/000opengl ++ # Append only when LDPATH is non-empty -- i.e. using nvidia or ati. ++ if [ -n "${LDPATH}" ]; then ++ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH+:}${LDPATH} ++ fi ++fi ++ + function show_message() + { + style=$1 |