File: fix_boost1.90.patch

package info (click to toggle)
field3d 1.7.3-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,732 kB
  • sloc: cpp: 25,324; ansic: 2,594; python: 221; sh: 72; makefile: 26
file content (27 lines) | stat: -rw-r--r-- 857 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Author: Matthias Klose <doko@debian.org>
Description: fix build with boost 1.90
Bug-Debian: https://bugs.debian.org/1127080
Last-Update: 2026-02-05

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,7 +45,7 @@ IF ( CMAKE_HOST_WIN32 )
 # forced via a pragma.
 FIND_PACKAGE (Boost COMPONENTS regex thread)
 ELSE ()
-FIND_PACKAGE (Boost COMPONENTS regex thread program_options system)
+FIND_PACKAGE (Boost COMPONENTS regex thread program_options)
 FIND_PACKAGE (MPI)
 ENDIF ()
 
--- a/BuildSupport.py
+++ b/BuildSupport.py
@@ -214,8 +214,6 @@ def setupEnv(env, pathToRoot = "."):
     env.Append(LIBS = ["z", "pthread"])
     # Hdf5 lib
     env.Append(LIBS = ["hdf5"])
-    # Boost system
-    env.Append(LIBS = ["boost_system-mt"])
     # Boost threads
     if siteExists and hasattr(Site, "boostThreadLib"):
         env.Append(LIBS = [Site.boostThreadLib])