[cdo] 05/06: Need fortran-fix.patch for missing decl in mo_cdi.F90

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Nov 14 14:26:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository cdo.

commit 073f4e20fa8c41a22bdc7b7dfae4ae6635de7af2
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Nov 11 11:34:49 2017 +0000

    Need fortran-fix.patch for missing decl in mo_cdi.F90
---
 debian/changelog                 |  1 +
 debian/patches/fortran-fix.patch | 15 +++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c76711b..0f37dfd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 cdo (1.9.2~rc1-1) UNRELEASED; urgency=medium
 
   * Testing 1.9.2rc1 release
+  * Need fortran-fix.patch for missing decl in mo_cdi.F90
 
  -- Alastair McKinstry <mckinstry at debian.org>  Mon, 06 Nov 2017 11:47:08 +0000
 
diff --git a/debian/patches/fortran-fix.patch b/debian/patches/fortran-fix.patch
new file mode 100644
index 0000000..0474800
--- /dev/null
+++ b/debian/patches/fortran-fix.patch
@@ -0,0 +1,15 @@
+Index: cdo-1.9.2~rc1/libcdi/examples/cdi_write_f2003.f90
+===================================================================
+--- cdo-1.9.2~rc1.orig/libcdi/examples/cdi_write_f2003.f90
++++ cdo-1.9.2~rc1/libcdi/examples/cdi_write_f2003.f90
+@@ -44,8 +44,8 @@
+       vlistID = vlistCreate()
+ 
+ !     Define the variables
+-      varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING)
+-      varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING)
++      varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARIABLE)
++      varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARIABLE)
+ 
+ !     Define the variable names
+       varname = "varname1" // c_null_char
diff --git a/debian/patches/series b/debian/patches/series
index 9c63108..c722914 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ deregister.patch
 reproducible-builds.patch
 ppc64el.patch
 off_t-fix.patch
+fortran-fix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cdo.git



More information about the debian-science-commits mailing list