]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
MEDCOUPLING: boost 1.71 on Ubuntu 22.04
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 23 Dec 2022 09:10:59 +0000 (10:10 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 23 Dec 2022 09:10:59 +0000 (10:10 +0100)
products/patches/boost-1.71-pthread-gcc-11.patch [new file with mode: 0644]

diff --git a/products/patches/boost-1.71-pthread-gcc-11.patch b/products/patches/boost-1.71-pthread-gcc-11.patch
new file mode 100644 (file)
index 0000000..d186bad
--- /dev/null
@@ -0,0 +1,11 @@
+--- boost_ref/boost/thread/pthread/thread_data.hpp     2022-12-23 09:54:35.643656004 +0100
++++ boost_dev/boost/thread/pthread/thread_data.hpp     2022-12-23 10:04:30.775631054 +0100
+@@ -57,7 +57,7 @@
+ #else
+           std::size_t page_size = ::sysconf( _SC_PAGESIZE);
+ #endif
+-#if PTHREAD_STACK_MIN > 0
++#ifdef PTHREAD_STACK_MIN
+           if (size<PTHREAD_STACK_MIN) size=PTHREAD_STACK_MIN;
+ #endif
+           size = ((size+page_size-1)/page_size)*page_size;