[librsb] 05/08: d/p/compile-fortran-examples.patch: Allow compilation of Fortran 90 examples
Rafael Laboissiere
rafael at debian.org
Sun Oct 9 10:26:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository librsb.
commit 54955be17435fcb83e027d420cb68e449ecbda4f
Author: Rafael Laboissiere <rafael at debian.org>
Date: Sun Oct 9 05:45:34 2016 -0300
d/p/compile-fortran-examples.patch: Allow compilation of Fortran 90 examples
---
debian/patches/compile-fortran-examples.patch | 28 +++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/compile-fortran-examples.patch b/debian/patches/compile-fortran-examples.patch
new file mode 100644
index 0000000..0e2eae8
--- /dev/null
+++ b/debian/patches/compile-fortran-examples.patch
@@ -0,0 +1,28 @@
+Description: Allow compilation of Fortran 90 examples
+Author: Rafael Laboissiere <rafael at debian.org>
+Forwarded: no
+Last-Update: 2016-10-09
+
+--- librsb-1.2.0-rc5.orig/examples/make.sh
++++ librsb-1.2.0-rc5/examples/make.sh
+@@ -15,18 +15,16 @@ do
+ $cmd
+ done
+
+-# replace false with true if you have built the Fortran modules and installed them in the include directory.
+-if false ; then
+ for s in *.F90
+ do
+ p=${s/.F90/}
+ rm -f $p
+ CFLAGS=`${LIBRSB_CONFIG} --I_opts`
+- LDFLAGS=`${LIBRSB_CONFIG} --static --ldflags --extra_libs`
++ LDFLAGS=`${LIBRSB_CONFIG} --ldflags --extra_libs`
+ FC=`${LIBRSB_CONFIG} --fc`
+ cmd="$FC $CFLAGS $s $LDFLAGS -o $p"
+ echo $cmd
+ $cmd
+ done
+-fi
++
+
diff --git a/debian/patches/series b/debian/patches/series
index 81da332..2b1abe1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
use-shared-lib.patch
fix-path-of-mtx-files.patch
+compile-fortran-examples.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/librsb.git
More information about the debian-science-commits
mailing list