commit:     ba236ca85175d75bad6565c607e1f9c8b96fb0a7
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri May 27 22:45:16 2022 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Fri May 27 22:46:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba236ca8

sci-physics/SU2: fix meson.build patch

Closes: https://bugs.gentoo.org/847346

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 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 ac28d7d53..2d2ce7361 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 927ee3734..3e96c4dd4 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 @@

Reply via email to