void-packages/srcpkgs/steam/patches/void.patch
Juan RP ce9825e402 steam: LD_PRELOAD required shlibs for incompat runtime shlibs.
- Improved INSTALL.msg to mention libGL-32bit.
- Remove the libressl preload workaround, it's not necessary anymore.
2015-09-20 11:17:24 +02:00

16 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"