void-packages/srcpkgs/steam/patches/void.patch

17 lines
502 B
Diff

--- steam.orig 2015-03-22 11:22:16.000197500 +0100
+++ steam 2015-03-22 11:23:10.780279019 +0100
@@ -183,6 +183,13 @@ if ! check_bootstrap "$LAUNCHSTEAMDIR";
exit 1
fi
+# -- void --
+# Preload our libgcc_s, libstdc++ and libxcb shared libraries.
+# -- void --
+
+
+export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1'
+
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"