From ce940999e0ab05fedc3c1c78f6cac2b51dcd1366 Mon Sep 17 00:00:00 2001 From: mef Date: Sat, 20 Jan 2024 10:22:46 +0000 Subject: [PATCH] (lang/R-cpp11) Updated 0.4.3 to 0.4.7 # cpp11 0.4.7 * Internal changes requested by CRAN to fix invalid format string tokens (@paleolimbot, #345). # cpp11 0.4.6 * R >=3.5.0 is now required to use cpp11. This is in line with (and even goes beyond) the tidyverse standard of supporting the previous 5 minor releases of R. It also ensures that `R_UnwindProtect()` is available to avoid C++ memory leaks (#332). * `cpp11::preserved.release_all()` has been removed. This was intended to support expert developers on R <3.5.0 when cpp11 used a global protection list. Since cpp11 no longer uses a global protection list and requires R >=3.5.0, it is no longer needed. As far as we can tell, no package was actively using this (#332). * cpp11 now creates one protection list per compilation unit, rather than one global protection list shared across compilation units and across packages. This greatly reduces the complexity of managing the protection list state and should make it easier to make changes to the protection list structure in the future without breaking packages compiled with older versions of cpp11 (#330). * Nested calls to `cpp11::unwind_protect()` are no longer supported or encouraged. Previously, this was something that could be done for performance improvements, but ultimately this feature has proven to cause more problems than it is worth and is very hard to use safely. For more information, see the new `vignette("FAQ")` section titled "Should I call `cpp11::unwind_protect()` manually?" (#327). * The features and bug fixes from cpp11 0.4.4 have been added back in. # cpp11 0.4.5 * On 2023-07-20, cpp11 was temporarily rolled back to 0.4.3 manually by CRAN due to a bug in 0.4.4 which we could not immediately fix due to the cpp11 maintainer being on vacation. # cpp11 0.4.4 * Davis Vaughan is now the maintainer. * `as_doubles()` and `as_integers()` now propagate missing values correctly (#265, #319). * Fixed a performance issue related to nested `unwind_protect()` calls (#298). * Minor performance improvements to the cpp11 protect code. (@kevinushey) * `cpp_register()` gains an argument `extension=` governing the file extension of the `src/cpp11` file. By default it's `.cpp`, but `.cc` is now supported as well (#292, @MichaelChirico) --- lang/R-cpp11/Makefile | 4 ++-- lang/R-cpp11/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lang/R-cpp11/Makefile b/lang/R-cpp11/Makefile index 267a446274fc..d3d943335029 100644 --- a/lang/R-cpp11/Makefile +++ b/lang/R-cpp11/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2023/02/18 09:21:40 mef Exp $ +# $NetBSD: Makefile,v 1.6 2024/01/20 10:22:46 mef Exp $ R_PKGNAME= cpp11 -R_PKGVER= 0.4.3 +R_PKGVER= 0.4.7 CATEGORIES= lang MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/lang/R-cpp11/distinfo b/lang/R-cpp11/distinfo index 45820a54da1e..6ada56eb853d 100644 --- a/lang/R-cpp11/distinfo +++ b/lang/R-cpp11/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2023/02/18 09:21:40 mef Exp $ +$NetBSD: distinfo,v 1.8 2024/01/20 10:22:46 mef Exp $ -BLAKE2s (R/cpp11_0.4.3.tar.gz) = ac4a80cd19ab38e28ede25eaa6c21353dfc2d1ede41ea2c9cda7aa857889c2a7 -SHA512 (R/cpp11_0.4.3.tar.gz) = d37370906fd2dbe2eba86d43876bb1f8186bc5ccbe9c605333eb686b1342fd02c69964c580e0c3f1e206c46889ea415c92952d2e54b69fbda8423f00345b2afe -Size (R/cpp11_0.4.3.tar.gz) = 304530 bytes +BLAKE2s (R/cpp11_0.4.7.tar.gz) = 9d7ec7dedc3591d0537b9435b62048b225d80ea2152ce1342ccd54a482e9ba4e +SHA512 (R/cpp11_0.4.7.tar.gz) = d820cbd5c72860ddec5d21134d4ce278c670d7fb57add8b126ddd952c6da1cd165df57a769a5bea63b3c55d74fe638604c5d60b0c9eb23c35bbb64b933e80182 +Size (R/cpp11_0.4.7.tar.gz) = 285779 bytes