mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
boost: add missing upstream patch
This commit is contained in:
parent
595b5584e2
commit
9b0dc687b0
2 changed files with 17 additions and 1 deletions
16
srcpkgs/boost/patches/unorder-fix-copy-assign.patch
Normal file
16
srcpkgs/boost/patches/unorder-fix-copy-assign.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp
|
||||
index 239d05d3..7ae9f2c8 100644
|
||||
--- a/boost/unordered/detail/foa/core.hpp
|
||||
+++ b/boost/unordered/detail/foa/core.hpp
|
||||
@@ -1870,9 +1870,10 @@ private:
|
||||
|
||||
void fast_copy_elements_from(const table_core& x)
|
||||
{
|
||||
- if(arrays.elements){
|
||||
+ if(arrays.elements&&x.arrays.elements){
|
||||
copy_elements_array_from(x);
|
||||
copy_groups_array_from(x);
|
||||
+ size_ctrl.ml=std::size_t(x.size_ctrl.ml);
|
||||
size_ctrl.size=std::size_t(x.size_ctrl.size);
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'boost'
|
||||
pkgname=boost
|
||||
version=1.83.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meta
|
||||
hostmakedepends="which bzip2-devel icu-devel python3-devel pkg-config openmpi"
|
||||
makedepends="zlib-devel bzip2-devel icu-devel python3-devel liblzma-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue