retroshare: fix noatomic8 build.

This commit is contained in:
Érico Rolim 2021-03-05 23:54:05 -03:00
parent 83269a5ebb
commit 2dd4348073

View file

@ -18,6 +18,10 @@ homepage="https://retroshare.cc"
distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz"
checksum=901a1d1f282e04118fbe0e24190355b4a8f355a806cc5448738b1d691b46f5d5
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_patch() {
# upnputil.c includes a C++ header, so make sure qmake recognizes it as C++
mv libretroshare/src/upnp/upnputil.{c,cc}