steam: re-add patch to LD_PRELOAD required system libs.

... otherwise there's a conflict with ABI used in the ubuntu runtime
and does not start.
This commit is contained in:
Juan RP 2016-05-09 20:32:12 +02:00
parent c2b300e2d8
commit c653c26a64
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
--- steam.orig 2016-05-07 13:51:39.465996146 +0200
+++ steam 2016-05-07 13:52:51.155112972 +0200
@@ -183,6 +183,10 @@
exit 1
fi
+# --*-- void --*--
+export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1'
+# --*-- void --*--
+
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"
@@ -190,7 +198,7 @@
mkdir -p --mode=777 /tmp/dumps
if [[ -f "/tmp/dumps/${USER}_stdout.txt" ]]; then
rm -f "/tmp/dumps/${USER}_stdout.txt"
- fi
+ fi
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" "$@" 2>&1 | tee "/tmp/dumps/${USER}_stdout.txt"
else
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" "$@"

View File

@ -4,7 +4,7 @@ only_for_archs="i686 x86_64"
pkgname=steam
version=1.0.0.52
revision=3
revision=4
wrksrc=steam
depends="zenity xterm xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
repository="nonfree"