From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3421F138334 for ; Fri, 20 Dec 2019 17:54:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53B8BE0973; Fri, 20 Dec 2019 17:54:03 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B06CE0973 for ; Fri, 20 Dec 2019 17:54:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F24334D78A for ; Fri, 20 Dec 2019 17:54:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 784888A7 for ; Fri, 20 Dec 2019 17:53:59 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1576864424.81c6a4956dd1bfed76c9845066f5ab0db75475ce.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/rstudio/files/, sci-mathematics/rstudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch sci-mathematics/rstudio/files/rstudio-1.2.1335-boost-1.72-filesystem.patch sci-mathematics/rstudio/rstudio-1.2.1335.ebuild X-VCS-Directories: sci-mathematics/rstudio/files/ sci-mathematics/rstudio/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 81c6a4956dd1bfed76c9845066f5ab0db75475ce X-VCS-Branch: master Date: Fri, 20 Dec 2019 17:53:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6776d222-4844-4bbf-99e5-0e9c86286658 X-Archives-Hash: 512c867bda4df771245a8c26a17c2d78 commit: 81c6a4956dd1bfed76c9845066f5ab0db75475ce Author: David Seifert gentoo org> AuthorDate: Fri Dec 20 17:53:44 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Dec 20 17:53:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c6a495 sci-mathematics/rstudio: Fix building with boost 1.72 Closes: https://bugs.gentoo.org/703124 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert gentoo.org> .../rstudio/files/rstudio-1.0.44-systemd.patch | 8 +++--- .../rstudio-1.2.1335-boost-1.72-filesystem.patch | 31 ++++++++++++++++++++++ sci-mathematics/rstudio/rstudio-1.2.1335.ebuild | 23 ++++++++-------- 3 files changed, 47 insertions(+), 15 deletions(-) diff --git a/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch b/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch index 7eafd4386ab..56601de5341 100644 --- a/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch +++ b/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch @@ -1,7 +1,7 @@ ---- rstudio-1.0.44-orig/src/cpp/server/CMakeLists.txt 2016-10-19 08:32:41.000000000 +1100 -+++ rstudio-1.0.44/src/cpp/server/CMakeLists.txt 2016-12-02 11:11:45.259050839 +1100 -@@ -203,17 +203,12 @@ - DESTINATION ${RSERVER_UPSTART_DIR}) +--- a/src/cpp/server/CMakeLists.txt ++++ b/src/cpp/server/CMakeLists.txt +@@ -232,17 +232,12 @@ + DESTINATION ${DISTRO_SHARE}/${RSERVER_UPSTART_DIR}) # install configured systemd profile - set(RSERVER_SYSTEMD_DIR "extras/systemd") diff --git a/sci-mathematics/rstudio/files/rstudio-1.2.1335-boost-1.72-filesystem.patch b/sci-mathematics/rstudio/files/rstudio-1.2.1335-boost-1.72-filesystem.patch new file mode 100644 index 00000000000..b2c4d2392f6 --- /dev/null +++ b/sci-mathematics/rstudio/files/rstudio-1.2.1335-boost-1.72-filesystem.patch @@ -0,0 +1,31 @@ +From a11d0454e5fe9c50005a03b9d9de84355df5c7fd Mon Sep 17 00:00:00 2001 +From: Kevin Ushey +Date: Fri, 15 Nov 2019 14:54:02 -0800 +Subject: [PATCH] avoid use of deprecated APIs + +--- + src/cpp/core/FilePath.cpp | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/src/cpp/shared_core/FilePath.cpp b/src/cpp/shared_core/FilePath.cpp +index 088366a9d6..495289e7fc 100644 +--- a/src/cpp/core/FilePath.cpp ++++ b/src/cpp/core/FilePath.cpp +@@ -22,8 +22,6 @@ + #include + #endif + +-#define BOOST_FILESYSTEM_NO_DEPRECATED +- + #define BOOST_NO_CXX11_SCOPED_ENUMS + #include + #undef BOOST_NO_CXX11_SCOPED_ENUMS +@@ -1032,7 +1030,7 @@ + { + // NOTE: The path gets round-tripped through toString/fromString, would + // be nice to have a direct constructor +- if (!iterationFunction(itr.level(), ++ if (!iterationFunction(itr.depth(), + FilePath(BOOST_FS_PATH2STR(itr->path())))) + { + // end the iteration if requested diff --git a/sci-mathematics/rstudio/rstudio-1.2.1335.ebuild b/sci-mathematics/rstudio/rstudio-1.2.1335.ebuild index 9d0dfd64d7d..2ba27bd5148 100644 --- a/sci-mathematics/rstudio/rstudio-1.2.1335.ebuild +++ b/sci-mathematics/rstudio/rstudio-1.2.1335.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit eutils user cmake-utils gnome2-utils pam xdg-utils java-pkg-2 pax-utils qmake-utils +inherit eutils user cmake-utils gnome2-utils pam xdg-utils java-pkg-2 pax-utils qmake-utils vcs-clean # TODO # * package gin and gwt @@ -92,16 +92,17 @@ DEPEND="${RDEPEND} # test? ( dev-java/junit:4 ) PATCHES=( - "${FILESDIR}/${PN}-1.2.1335-prefs.patch" - "${FILESDIR}/${PN}-1.2.1335-paths.patch" - "${FILESDIR}/${PN}-1.2.1335-pandoc.patch" - "${FILESDIR}/${PN}-1.2.1335-linker_flags.patch" - "${FILESDIR}/${PN}-1.2.1335-qtsingleapplication.patch" - "${FILESDIR}/${PN}-1.0.44-systemd.patch" - "${FILESDIR}/${PN}-1.2.1335-core.patch" - "${FILESDIR}/${PN}-1.2.1335-fix-ptr-int-compare.patch" - "${FILESDIR}/${PN}-1.2.1335-boost-1.70.0_p1.patch" - "${FILESDIR}/${PN}-1.2.1335-boost-1.70.0_p2.patch" + "${FILESDIR}"/${PN}-1.2.1335-prefs.patch + "${FILESDIR}"/${PN}-1.2.1335-paths.patch + "${FILESDIR}"/${PN}-1.2.1335-pandoc.patch + "${FILESDIR}"/${PN}-1.2.1335-linker_flags.patch + "${FILESDIR}"/${PN}-1.2.1335-qtsingleapplication.patch + "${FILESDIR}"/${PN}-1.0.44-systemd.patch + "${FILESDIR}"/${PN}-1.2.1335-core.patch + "${FILESDIR}"/${PN}-1.2.1335-fix-ptr-int-compare.patch + "${FILESDIR}"/${PN}-1.2.1335-boost-1.70.0_p1.patch + "${FILESDIR}"/${PN}-1.2.1335-boost-1.70.0_p2.patch + "${FILESDIR}"/${PN}-1.2.1335-boost-1.72-filesystem.patch ) src_unpack() {