[Pkg-octave-commit] [octave-odepkg] 01/02: debian/patches/correct-fflags-for-f77.patch: New patch
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Mon Sep 1 06:45:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository octave-odepkg.
commit 6381309980b766a42fb2c96ab7cb041889e44b7e
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Mon Sep 1 03:40:09 2014 -0300
debian/patches/correct-fflags-for-f77.patch: New patch
Closes: 759741
---
debian/patches/correct-fflags-for-f77.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 26 insertions(+)
diff --git a/debian/patches/correct-fflags-for-f77.patch b/debian/patches/correct-fflags-for-f77.patch
new file mode 100644
index 0000000..8e639f2
--- /dev/null
+++ b/debian/patches/correct-fflags-for-f77.patch
@@ -0,0 +1,25 @@
+Description: Cope with the value "f77" of the F77 make variable
+ This patch was not needed in the past because the default value of
+ the F77 variable in the Makefile was "gfortran" and the conditional
+ code work correctly. The value is now "f77", and since it is lacking
+ in the conditional code, the FFLAGS ended up without the necessary
+ quotes. Since, in the default Debian installation, f77 is set as
+ gfortran by the alternatives system, I am duplicating the behavior
+ for f77 from that for gfortran.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Bug-Debian: http://bugs.debian.org/759741
+Forwarded: https://savannah.gnu.org/bugs/index.php?43120
+Last-Update: 2014-08-31
+
+--- octave-odepkg-0.8.4.orig/src/Makefile
++++ octave-odepkg-0.8.4/src/Makefile
+@@ -15,6 +15,9 @@ FFLAGS := $(shell $(MKOCTFILE) -p FFLAGS
+ ifeq (gfortran,$(findstring gfortran,$(F77)))
+ FFLAGS := "-fno-automatic $(FFLAGS)"
+ endif
++ifeq (f77,$(findstring f77,$(F77)))
++ FFLAGS := "-fno-automatic $(FFLAGS)"
++endif
+ ifeq (g95,$(findstring g95,$(F77)))
+ FFLAGS := "-fstatic $(FFLAGS)"
+ endif
diff --git a/debian/patches/series b/debian/patches/series
index c3a8e8e..7ced22c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
info-dir-section.diff
autoload-yes.patch
+correct-fflags-for-f77.patch
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-odepkg.git
More information about the Pkg-octave-commit
mailing list