aboutsummaryrefslogtreecommitdiff
path: root/science/tfel-edf
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2020-12-21 16:37:23 +0000
committerThierry Thomas <thierry@FreeBSD.org>2020-12-21 16:37:23 +0000
commite122b6dc79089588fd45e170a4c951488da32f60 (patch)
tree95c243876746b7e8c65364dbed0b8d58024c9768 /science/tfel-edf
parent07f049d840310dc4bbeb78dafd7335dab8763248 (diff)
downloadports-e122b6dc79089588fd45e170a4c951488da32f60.tar.gz
ports-e122b6dc79089588fd45e170a4c951488da32f60.zip
Fix for GCC_DEFAULT=10.
PR: 246700 Submitted by: gerald@ Reported by: exp-run (antoine@)
Notes
Notes: svn path=/head/; revision=558843
Diffstat (limited to 'science/tfel-edf')
-rw-r--r--science/tfel-edf/files/patch-cmake_modules_tfel.cmake4
-rw-r--r--science/tfel-edf/files/patch-mtest_src_AsterSmallStrainBehaviour.cxx10
2 files changed, 12 insertions, 2 deletions
diff --git a/science/tfel-edf/files/patch-cmake_modules_tfel.cmake b/science/tfel-edf/files/patch-cmake_modules_tfel.cmake
index a8251a73e734..aa8bc954f304 100644
--- a/science/tfel-edf/files/patch-cmake_modules_tfel.cmake
+++ b/science/tfel-edf/files/patch-cmake_modules_tfel.cmake
@@ -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)
diff --git a/science/tfel-edf/files/patch-mtest_src_AsterSmallStrainBehaviour.cxx b/science/tfel-edf/files/patch-mtest_src_AsterSmallStrainBehaviour.cxx
new file mode 100644
index 000000000000..91bf9994d16d
--- /dev/null
+++ b/science/tfel-edf/files/patch-mtest_src_AsterSmallStrainBehaviour.cxx
@@ -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"