Doesn't hurt but we probably don't need #ifdef around SYS_getrandom tbh.
Has anyone looked at updating boost recently? It would be a good time in
our release cycle and I can do an i386 bulk if anyone has a diff handy.
--
Sent from a phone, apologies for poor formatting.
On 28 October 2023 11:16:36 Rafael Sadowski <rafael@sizeofvoid.org> wrote:
> Here is a diff to remove syscall(2) in boost. I have deliberately worked
> with defined(__OpenBSD__) so that this can also push to upstream.
>
> OK?
>
> diff --git a/devel/boost/Makefile b/devel/boost/Makefile
> index 91f25cb5c9e..2eec1a35b88 100644
> --- a/devel/boost/Makefile
> +++ b/devel/boost/Makefile
> @@ -12,7 +12,7 @@ VERSION= 1.80.0
> EPOCH = 0
> DISTNAME= boost_${VERSION:S/./_/g}
> PKGNAME= boost-${VERSION}
> -REVISION-main= 2
> +REVISION-main= 3
> CATEGORIES= devel
> SITES= https://boostorg.jfrog.io/artifactory/main/release/${VERSION}/source/
> EXTRACT_SUFX= .tar.bz2
> diff --git a/devel/boost/patches/patch-boost_atomic_detail_futex_hpp
> b/devel/boost/patches/patch-boost_atomic_detail_futex_hpp
> new file mode 100644
> index 00000000000..c0ef4696a26
> --- /dev/null
> +++ b/devel/boost/patches/patch-boost_atomic_detail_futex_hpp
> @@ -0,0 +1,45 @@
> +Index: boost/atomic/detail/futex.hpp
> +--- boost/atomic/detail/futex.hpp.orig
> ++++ boost/atomic/detail/futex.hpp
> +@@ -23,7 +23,7 @@
> + #pragma once
> +
No comments:
Post a Comment