From 2dd4348073d0174ae2b2b1714544a3ecbaac9f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Fri, 5 Mar 2021 23:54:05 -0300 Subject: [PATCH] retroshare: fix noatomic8 build. --- srcpkgs/retroshare/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/retroshare/template b/srcpkgs/retroshare/template index 9e1084749f4..6f95e893761 100644 --- a/srcpkgs/retroshare/template +++ b/srcpkgs/retroshare/template @@ -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}