summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ppopen-appl-fdm/iargc_definition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/ppopen-appl-fdm/iargc_definition.patch')
-rw-r--r--var/spack/repos/builtin/packages/ppopen-appl-fdm/iargc_definition.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-fdm/iargc_definition.patch b/var/spack/repos/builtin/packages/ppopen-appl-fdm/iargc_definition.patch
new file mode 100644
index 0000000000..4f149873ae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ppopen-appl-fdm/iargc_definition.patch
@@ -0,0 +1,13 @@
+--- spack-src/tools/seismic_2D-tools/m_getopt.f90.org 2020-05-13 10:14:41.822006522 +0900
++++ spack-src/tools/seismic_2D-tools/m_getopt.f90 2020-05-13 10:17:01.102690012 +0900
+@@ -80,7 +80,9 @@
+ character(256), allocatable :: argv(:)
+ integer :: i
+ character(256) :: optkey
+-
++
++ integer, external :: iargc
++
+ narg = iargc()
+ allocate( argv(1:narg) )
+