mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
colobot: fix build with Boost 1.91: drop boost::system requirement
regen patch while there
This commit is contained in:
@@ -17,3 +17,12 @@ Index: CMakeLists.txt
|
||||
set(DEBUG_CXX_FLAGS "-g -O0")
|
||||
set(TEST_CXX_FLAGS "-pthread")
|
||||
add_definitions(-DNOEXCEPT=noexcept -DHAVE_DEMANGLE)
|
||||
@@ -321,7 +319,7 @@ set(Boost_USE_MULTITHREADED ON)
|
||||
set(Boost_USE_STATIC_RUNTIME ${USE_STATIC_RUNTIME})
|
||||
|
||||
set(Boost_ADDITIONALVERSION "1.51" "1.51.0")
|
||||
-find_package(Boost COMPONENTS system filesystem regex REQUIRED)
|
||||
+find_package(Boost COMPONENTS filesystem regex REQUIRED)
|
||||
|
||||
set(GLEW_USE_STATIC_LIBS ${GLEW_STATIC})
|
||||
find_package(GLEW REQUIRED)
|
||||
|
||||
@@ -10,7 +10,7 @@ if the main -> SDL_main macro is in use.
|
||||
Index: src/app/main.cpp
|
||||
--- src/app/main.cpp.orig
|
||||
+++ src/app/main.cpp
|
||||
@@ -94,10 +94,14 @@ The current layout is the following:
|
||||
@@ -101,10 +101,14 @@ The current layout is the following:
|
||||
- src/script - link with the CBot library
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ Index: src/app/main.cpp
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
CLogger logger; // single instance of logger
|
||||
@@ -176,4 +180,6 @@ int main(int argc, char *argv[])
|
||||
@@ -203,4 +207,6 @@ int main(int argc, char *argv[])
|
||||
return code;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user