hasufell-repository/packages/net-im/pidgin-opensteamworks/pidgin-opensteamworks-scm.exheres-0

19 lines
459 B
Bash
Raw Normal View History

# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=EionRobb ]
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
}