Gentoo Archives: gentoo-commits

From: Mario Kicherer <dev@××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/steam-launcher/files/
Date: Thu, 01 Jan 2015 20:18:31
Message-Id: 1420143499.be8ea9c05d2bca27a74b074ba4872cc3eaef13ab.anyc@gentoo
1 commit: be8ea9c05d2bca27a74b074ba4872cc3eaef13ab
2 Author: Mario Kicherer <dev <AT> kicherer <DOT> org>
3 AuthorDate: Thu Jan 1 20:18:19 2015 +0000
4 Commit: Mario Kicherer <dev <AT> kicherer <DOT> org>
5 CommitDate: Thu Jan 1 20:18:19 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=be8ea9c0
7
8 [games-util/steam-launcher] added missing patch
9
10 ---
11 .../files/steam-fix-ld-library-path.patch | 21 +++++++++++++++++++++
12 1 file changed, 21 insertions(+)
13
14 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
15 new file mode 100644
16 index 0000000..c98ef77
17 --- /dev/null
18 +++ b/games-util/steam-launcher/files/steam-fix-ld-library-path.patch
19 @@ -0,0 +1,21 @@
20 +--- steam 2015-01-01 19:14:52.312377741 +0100
21 ++++ steam_new 2015-01-01 19:13:59.023702762 +0100
22 +@@ -17,6 +17,18 @@
23 + # Set up domain for script localization
24 + export TEXTDOMAIN=steam
25 +
26 ++# Steam appends /usr/lib32 to LD_LIBRARY_PATH. We need to make sure that
27 ++# OpenGL implementation dir goes before that, so we need to append it
28 ++# to user's LD_LIBRARY_PATH ourselves. But that's needed only with
29 ++# the new eselect-opengl that uses 000opengl file.
30 ++if [ -f /etc/env.d/000opengl ]; then
31 ++ . /etc/env.d/000opengl
32 ++ # Append only when LDPATH is non-empty -- i.e. using nvidia or ati.
33 ++ if [ -n "${LDPATH}" ]; then
34 ++ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH+:}${LDPATH}
35 ++ fi
36 ++fi
37 ++
38 + function show_message()
39 + {
40 + style=$1