# HG changeset patch # User Alain Mazy # Date 1660203200 -7200 # Node ID caed453042db1e149daf198f713ef8490504f23f # Parent e95fadefeb720b8bf62afe04659c4c2ef124457c Fix static compilation of boost 1.69 on Ubuntu 22.04 diff -r e95fadefeb72 -r caed453042db NEWS --- a/NEWS Tue Aug 09 17:57:38 2022 +0200 +++ b/NEWS Thu Aug 11 09:33:20 2022 +0200 @@ -23,6 +23,7 @@ * DelayedDeletion plugin: Fix leaking of symbols * SQLite now closes and deletes WAL and SHM files on exit. This should improve handling of SQLite DB over network drives. +* Fix static compilation of boost 1.69 on Ubuntu 22.04 Version 1.11.1 (2022-06-30) diff -r e95fadefeb72 -r caed453042db OrthancFramework/Resources/Patches/boost-1.69.0-linux-standard-base.patch --- a/OrthancFramework/Resources/Patches/boost-1.69.0-linux-standard-base.patch Tue Aug 09 17:57:38 2022 +0200 +++ b/OrthancFramework/Resources/Patches/boost-1.69.0-linux-standard-base.patch Thu Aug 11 09:33:20 2022 +0200 @@ -121,3 +121,16 @@ std::strcpy(entry->d_name, p->d_name); *result = entry; return 0; + +diff -urEb boost_1_69_0.orig/boost/thread/pthread/thread_data.hpp boost_1_69_0/boost/thread/pthread/thread_data.hpp +--- boost_1_69_0.orig/boost/thread/pthread/thread_data.hpp 2022-08-11 07:26:14.343376000 +0000 ++++ boost_1_69_0/boost/thread/pthread/thread_data.hpp 2022-08-11 07:27:21.009862000 +0000 +@@ -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