From c4d6a1c403edad9a0a7f22527ee5162bab53432b Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 24 Sep 2017 23:41:49 +0000 Subject: [PATCH] rstudio: unbreak i686 --- srcpkgs/rstudio/patches/boost-1.65.1.patch | 36 +++++++++++++++++++ .../rstudio/patches/include_iostream.patch | 10 ------ srcpkgs/rstudio/template | 4 --- 3 files changed, 36 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/rstudio/patches/boost-1.65.1.patch delete mode 100644 srcpkgs/rstudio/patches/include_iostream.patch diff --git a/srcpkgs/rstudio/patches/boost-1.65.1.patch b/srcpkgs/rstudio/patches/boost-1.65.1.patch new file mode 100644 index 0000000000..691dd22313 --- /dev/null +++ b/srcpkgs/rstudio/patches/boost-1.65.1.patch @@ -0,0 +1,36 @@ +From 90701c01101e96933729f57f2f39364d60a31162 Mon Sep 17 00:00:00 2001 +From: Randy Lai +Date: Sat, 9 Sep 2017 00:27:46 -0400 +Subject: [PATCH] build with boost 1.65 + +--- + src/cpp/core/Trace.cpp | 2 ++ + src/cpp/session/modules/SessionSVN.cpp | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/cpp/core/Trace.cpp b/src/cpp/core/Trace.cpp +index 2a62c30695..9eb985e308 100644 +--- src/cpp/core/Trace.cpp ++++ src/cpp/core/Trace.cpp +@@ -22,6 +22,8 @@ + + #include + ++#include ++ + namespace rstudio { + namespace core { + namespace trace { +diff --git a/src/cpp/session/modules/SessionSVN.cpp b/src/cpp/session/modules/SessionSVN.cpp +index ce8badb01f..a630a395ba 100644 +--- src/cpp/session/modules/SessionSVN.cpp ++++ src/cpp/session/modules/SessionSVN.cpp +@@ -1190,7 +1190,7 @@ struct CommitInfo + std::string author; + std::string subject; + std::string description; +- boost::posix_time::time_duration::sec_type date; ++ boost::uint64_t date; + }; + + bool commitIsMatch(const std::vector& patterns, diff --git a/srcpkgs/rstudio/patches/include_iostream.patch b/srcpkgs/rstudio/patches/include_iostream.patch deleted file mode 100644 index 355358d780..0000000000 --- a/srcpkgs/rstudio/patches/include_iostream.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/cpp/core/Trace.cpp.orig 2017-04-13 16:16:15.000000000 +0000 -+++ src/cpp/core/Trace.cpp 2017-09-17 16:36:36.663370924 +0000 -@@ -16,6 +16,7 @@ - - #include - -+#include - #include - - #include diff --git a/srcpkgs/rstudio/template b/srcpkgs/rstudio/template index 7298b8cd50..9b14e70a70 100644 --- a/srcpkgs/rstudio/template +++ b/srcpkgs/rstudio/template @@ -52,10 +52,6 @@ skip_extraction="core-dictionaries.zip selenium-server-standalone-${_selenium_version}.jar chromedriver-linux" -case "$XBPS_TARGET_MACHINE" in - i686) broken="https://build.voidlinux.eu/builders/i686_builder/builds/5009/steps/shell_3/logs/stdio" ;; -esac - post_extract() { _srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}"