From ba236ca85175d75bad6565c607e1f9c8b96fb0a7 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sat, 28 May 2022 01:45:16 +0300 Subject: [PATCH] sci-physics/SU2: fix meson.build patch Closes: https://bugs.gentoo.org/847346 Signed-off-by: Sergey Torokhov --- sci-physics/SU2/SU2-7.2.0-r1.ebuild | 1 + sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sci-physics/SU2/SU2-7.2.0-r1.ebuild b/sci-physics/SU2/SU2-7.2.0-r1.ebuild index ac28d7d532..2d2ce73611 100644 --- a/sci-physics/SU2/SU2-7.2.0-r1.ebuild +++ b/sci-physics/SU2/SU2-7.2.0-r1.ebuild @@ -44,6 +44,7 @@ RDEPEND=" " DEPEND=" ${RDEPEND} + dev-cpp/catch:0 dev-cpp/cli11 autodiff? ( diff --git a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch b/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch index 927ee3734c..3e96c4dd43 100644 --- a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch +++ b/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch @@ -104,10 +104,10 @@ if p.returncode() != 0 error(p.stdout()) endif -@@ -280,20 +271,4 @@ +@@ -280,21 +271,3 @@ get_option('enable-autodiff'), get_option('enable-directdiff'), get_option('enable-pywrapper'), get_option('enable-mkl'), get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), meson.build_root().split('/')[-1])) - +- -if get_option('enable-mpp') - message(''' To run SU2 with Mutation++ library, add these lines to your .bashrc file: - @@ -124,7 +124,8 @@ - - '''.format(get_option('librom_root'))) - - endif +-endif + --- a/SU2_CFD/include/solvers/CSolver.hpp +++ b/SU2_CFD/include/solvers/CSolver.hpp @@ -57,9 +57,9 @@