steam: readd steam-use-openssl.patch

close #3323
This commit is contained in:
Andrea Brancaleoni 2016-01-26 01:17:38 +01:00
parent 914036a9e2
commit 13ab7c6cc4
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,16 @@
--- 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 lib{crypto,ssl} from openssl, our libressl seems to be incompatible.
+# -- void --
+STEAM32_BSTRAP=${DEFAULTSTEAMDIR}/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu
+STEAM64_BSTRAP=${DEFAULTSTEAMDIR}/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu
+export LD_PRELOAD="$STEAM32_BSTRAP/libcrypto.so.1.0.0:$STEAM32_BSTRAP/libssl.so.1.0.0"
+
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"

View File

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