- Fix build with clang 6
This commit is contained in:
parent
15ba00fd7e
commit
790d4f57b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473057
2 changed files with 22 additions and 0 deletions
11
games/crrcsim/files/patch-src_mod__fdm_config.h
Normal file
11
games/crrcsim/files/patch-src_mod__fdm_config.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/mod_fdm_config.h.orig 2016-04-10 16:57:14 UTC
|
||||
+++ src/mod_fdm_config.h
|
||||
@@ -35,7 +35,7 @@
|
||||
#define MOD_FDM_USE_HELI01 1
|
||||
#define MOD_FDM_USE_MCOPTER01 1
|
||||
|
||||
-#define MOD_FDM_INFOSTR "CRRCSim "PACKAGE_VERSION
|
||||
+#define MOD_FDM_INFOSTR "CRRCSim " PACKAGE_VERSION
|
||||
|
||||
|
||||
#endif // MOD_FDM_CONFIG_H
|
11
games/crrcsim/files/patch-src_mod__video_crrc_animation.cpp
Normal file
11
games/crrcsim/files/patch-src_mod__video_crrc_animation.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/mod_video/crrc_animation.cpp.orig 2016-04-10 16:57:14 UTC
|
||||
+++ src/mod_video/crrc_animation.cpp
|
||||
@@ -84,7 +84,7 @@ void createAnimation(SimpleXMLTransfer *
|
||||
else
|
||||
{
|
||||
std::cerr << "createAnimation: unknown animation type \'"
|
||||
- << type << "\'" << std::cerr;
|
||||
+ << type << "\'" << std::endl;
|
||||
}
|
||||
|
||||
if (anim != NULL)
|
Loading…
Reference in a new issue