From 5350acbab6241e49bccf1abe7f566dab95fb3d5d Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 24 Sep 2016 21:43:01 +0200 Subject: [PATCH] net-im/pidgin-opensteamworks: fix build and revert upstream idiocy --- .../pidgin-opensteamworks-scm.exheres-0 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/net-im/pidgin-opensteamworks/pidgin-opensteamworks-scm.exheres-0 b/packages/net-im/pidgin-opensteamworks/pidgin-opensteamworks-scm.exheres-0 index 7aa16f7..1e6217e 100644 --- a/packages/net-im/pidgin-opensteamworks/pidgin-opensteamworks-scm.exheres-0 +++ b/packages/net-im/pidgin-opensteamworks/pidgin-opensteamworks-scm.exheres-0 @@ -7,3 +7,12 @@ require pidgin-opensteamworks-build SLOT="0" PLATFORMS="~amd64 ~x86" +src_prepare() { + # upstream is silly + # https://github.com/EionRobb/pidgin-opensteamworks/pull/139 + edo sed -i \ + -e '/if defined USE_OPENSSL_CRYPTO/s|__OpenBSD__|__unix__|' \ + steam_rsa.c + + default +}