1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Fix for GCC_DEFAULT=10.

PR:		246700
Submitted by:	gerald@
Reported by:	exp-run (antoine@)
This commit is contained in:
Thierry Thomas 2020-12-21 16:37:23 +00:00
parent 07f049d840
commit e122b6dc79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558843
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
--- cmake/modules/tfel.cmake.orig 2019-12-16 14:46:35 UTC
--- cmake/modules/tfel.cmake.orig 2019-04-04 06:48:40 UTC
+++ cmake/modules/tfel.cmake
@@ -21,7 +21,7 @@ macro(tfel_project tfel_version_major tfel_version_min
set(TFEL_VERSION "${VERSION}")
@ -18,7 +18,7 @@
if(LIB_SUFFIX)
add_definitions("-DLIB_SUFFIX=\\\"\"${LIB_SUFFIX}\"\\\"")
endif(LIB_SUFFIX)
@@ -145,8 +145,14 @@ macro(tfel_library_internal name component)
@@ -132,8 +132,14 @@ macro(tfel_library_internal name component)
endif(${ARGC} LESS 2)
add_library(${name} SHARED ${ARGN})
if(TFEL_APPEND_SUFFIX)

View File

@ -0,0 +1,10 @@
--- mtest/src/AsterSmallStrainBehaviour.cxx.orig 2019-04-04 06:48:40 UTC
+++ mtest/src/AsterSmallStrainBehaviour.cxx
@@ -12,6 +12,7 @@
*/
#include<cmath>
+#include<ostream>
#include<algorithm>
#include"TFEL/Raise.hxx"