From: "Ludovic Courtès" <ludo@gnu.org>
To: Foo Chuan Wei <chuanwei.foo@hotmail.com>
Cc: 51996-done@debbugs.gnu.org
Subject: bug#51996: [PATCH] gnu: Add xfoil.
Date: Sat, 18 Dec 2021 20:04:48 +0100 [thread overview]
Message-ID: <87mtkxohtb.fsf_-_@gnu.org> (raw)
In-Reply-To: <PU1PR01MB21552B912C9D263F18933DA38D9E9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (Foo Chuan Wei's message of "Sun, 21 Nov 2021 10:40:50 +0000")
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
Hi,
Foo Chuan Wei <chuanwei.foo@hotmail.com> skribis:
> * gnu/packages/engineering.scm (xfoil): New variable.
Applied with the changes below.
Thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1153 bytes --]
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 42f5544a54..e0fe0f354f 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2961,6 +2961,10 @@ (define-public xfoil
(with-directory-excursion "orrs"
(invoke "bin/osgen" "osmaps_ns.lst"))
(invoke "make" "-C" "plotlib")
+ (substitute* "bin/Makefile_gfortran"
+ (("^FFLAGS =(.*)$" _ suffix)
+ (string-append "FFLAGS = -fallow-argument-mismatch "
+ suffix "\n")))
(invoke "make" "-C" "bin" "-f" "Makefile_gfortran")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
@@ -2976,9 +2980,9 @@ (define-public xfoil
(install-file "xfoil_doc.txt" doc-dir)))))
#:tests? #f))
(inputs
- `(("libx11" ,libx11)))
+ (list libx11))
(native-inputs
- `(("gfortran" ,gfortran)))
+ (list gfortran))
(home-page "https://web.mit.edu/drela/Public/web/xfoil/")
(synopsis "Program for the design and analysis of subsonic airfoils")
(description
prev parent reply other threads:[~2021-12-18 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-20 7:54 [bug#51996] [PATCH] gnu: Add xfoil Foo Chuan Wei
2021-11-21 10:40 ` [bug#51996] [PATCH v2] " Foo Chuan Wei
2021-12-18 19:04 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mtkxohtb.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=51996-done@debbugs.gnu.org \
--cc=chuanwei.foo@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).