diff --git a/srcpkgs/rstudio/patches/boost181.patch b/srcpkgs/rstudio/patches/boost181.patch new file mode 100644 index 00000000000..2e9bd72848d --- /dev/null +++ b/srcpkgs/rstudio/patches/boost181.patch @@ -0,0 +1,16 @@ +Index: rstudio-1.4.1717/src/cpp/core/include/core/Thread.hpp +=================================================================== +--- rstudio-1.4.1717.orig/src/cpp/core/include/core/Thread.hpp ++++ rstudio-1.4.1717/src/cpp/core/include/core/Thread.hpp +@@ -17,9 +17,11 @@ + #define CORE_THREAD_HPP + + #include ++#include + + #include + #include ++#include + + #include + #include diff --git a/srcpkgs/rstudio/template b/srcpkgs/rstudio/template index c0354b8130c..f260b6fe2de 100644 --- a/srcpkgs/rstudio/template +++ b/srcpkgs/rstudio/template @@ -24,10 +24,12 @@ maintainer="John " license="AGPL-3.0-only" homepage="https://www.rstudio.com" distfiles="https://github.com/rstudio/rstudio/archive/v${version}.tar.gz - https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip" + https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip + https://github.com/catchorg/Catch2/releases/download/v2.13.10/catch.hpp" checksum="3af234180fd7cef451aef40faac2c7b52860f14a322244c1c7aede029814d261 - 4341a9630efb9dcf7f215c324136407f3b3d6003e1c96f2e5e1f9f14d5787494" -skip_extraction="core-dictionaries.zip" + 4341a9630efb9dcf7f215c324136407f3b3d6003e1c96f2e5e1f9f14d5787494 + 3725c0f0a75f376a5005dde31ead0feb8f7da7507644c201b814443de8355170" +skip_extraction="core-dictionaries.zip catch.hpp" LDFLAGS="-Wl,-z,stack-size=2097152" @@ -35,6 +37,7 @@ post_extract() { _srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}" unzip -qd ${wrksrc}/dependencies/dictionaries ${_srcdir}/core-dictionaries.zip + cp ${_srcdir}/catch.hpp src/cpp/tests/cpp/tests/vendor/catch.hpp } pre_configure() {