opendungeons: fix compilation
This commit is contained in:
parent
184892dce5
commit
3382e4d222
2 changed files with 17 additions and 1 deletions
|
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0xf7gkpy8ll1h59wyaljf0hr8prg7p4ixz80mxqwcnm9cglpgn63";
|
||||
};
|
||||
|
||||
patches = [ ./cmakepaths.patch ];
|
||||
patches = [
|
||||
./cmakepaths.patch
|
||||
./fix_link_date_time.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ ogre cegui boost sfml openal ois ];
|
||||
|
|
13
pkgs/games/opendungeons/fix_link_date_time.patch
Normal file
13
pkgs/games/opendungeons/fix_link_date_time.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f8ff3c2..689c463 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -538,7 +538,7 @@ endif()
|
||||
#This has to cover the versions not already known by CMake
|
||||
set(Boost_ADDITIONAL_VERSIONS 1.47 1.47.0 1.47.1 1.55.0)
|
||||
|
||||
-set(OD_BOOST_COMPONENTS system filesystem locale program_options thread)
|
||||
+set(OD_BOOST_COMPONENTS system date_time filesystem locale program_options thread)
|
||||
|
||||
if(BUILD_TESTING AND OD_BUILD_TESTING)
|
||||
set(OD_BOOST_COMPONENTS ${OD_BOOST_COMPONENTS} unit_test_framework)
|
Loading…
Reference in a new issue