rstudio: build with glibc 2.36

This commit is contained in:
Đoàn Trần Công Danh 2022-11-28 22:35:05 +07:00
parent c4004bd85c
commit ccc5060b87
2 changed files with 22 additions and 3 deletions

View File

@ -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 <queue>
+#include <set>
#include <boost/utility.hpp>
#include <boost/function.hpp>
+#include <boost/thread/mutex.hpp>
#include <core/BoostErrors.hpp>
#include <core/BoostThread.hpp>

View File

@ -24,10 +24,12 @@ maintainer="John <me@johnnynator.dev>"
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() {