Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 19:07:42 +0100 (CET)
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186850: science/netcdf4 : make texinfo5 compatible
Message-ID:  <20140217180742.1079D301C9@elch.exwg.net>
Resent-Message-ID: <201402171810.s1HIA07G068050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186850
>Category:       ports
>Synopsis:       science/netcdf4 : make texinfo5 compatible
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 17 18:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Moench-Tegeder
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD elch.exwg.net 10.0-RELEASE FreeBSD 10.0-RELEASE #2 r260689: Wed Jan 15 18:32:44 CET 2014 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64

netcdf-ftn-4.1.3_3             science/netcdf4
texinfo-5.2.20140209           print/texinfo

>Description:
	the build of science/netcdf4 fails when a current texinfo
	(print/texinfo) precedes the base texinfo in $PATH.
>How-To-Repeat:

>Fix:
Three texi files have to be fixed:

svn status
A       files/patch-man4-netcdf-c.texi
A       files/patch-man4-netcdf-f77.texi
A       files/patch-man4-netcdf-f90.texi

svn diff
Index: files/patch-man4-netcdf-c.texi
===================================================================
--- files/patch-man4-netcdf-c.texi	(revision 0)
+++ files/patch-man4-netcdf-c.texi	(working copy)
@@ -0,0 +1,53 @@
+--- man4/netcdf-c.texi.orig	2014-02-17 18:36:15.000000000 +0100
++++ man4/netcdf-c.texi	2014-02-17 18:52:28.000000000 +0100
+@@ -1723,12 +1723,10 @@
+ 
+ @item NC_NOERR
+ No error.
+-
+-@item
+-The specified netCDF dataset does not exist. 
+-
+-@item
+-A meaningless mode was specified. 
++@itemize @bullet
++@item The specified netCDF dataset does not exist. 
++@item A meaningless mode was specified. 
++@end itemize
+ 
+ @end table
+ 
+@@ -3130,7 +3128,6 @@
+ Pointer to allocated space of correct length. The name of the
+ group will be copied there. The name will be less than NC_MAX_NAME,
+ not including a terminating NULL byte.
+-@item
+ 
+ @end table
+ 
+@@ -3201,8 +3198,6 @@
+ nc_inq_grpname_len call this function with NULL for the full_name
+ parameter, or call (@pxref{nc_inq_grpname_len}).
+ 
+-@item
+-
+ @end table
+ 
+ @heading Errors
+@@ -3326,7 +3321,6 @@
+ 
+ @item parent_ncid
+ Pointer to an int. The ncid of the group will be copied there.
+-@item
+ 
+ @end table
+ 
+@@ -8726,7 +8720,7 @@
+ int nc_put_varm       (int ncid, int varid,  const size_t *startp, 
+                        const size_t *countp, const ptrdiff_t *stridep,
+                        const ptrdiff_t *imapp, const void *op);
+-n@end example
++@end example
+ 
+ @table @code
+ 
Index: files/patch-man4-netcdf-f77.texi
===================================================================
--- files/patch-man4-netcdf-f77.texi	(revision 0)
+++ files/patch-man4-netcdf-f77.texi	(working copy)
@@ -0,0 +1,10 @@
+--- man4/netcdf-f77.texi.orig	2014-02-17 18:53:44.000000000 +0100
++++ man4/netcdf-f77.texi	2014-02-17 18:54:02.000000000 +0100
+@@ -2570,7 +2570,6 @@
+ The name of the
+ group will be copied to this character array. The name will be less
+ than NF_MAX_NAME in length.
+-@item
+ 
+ @end table
+ 
Index: files/patch-man4-netcdf-f90.texi
===================================================================
--- files/patch-man4-netcdf-f90.texi	(revision 0)
+++ files/patch-man4-netcdf-f90.texi	(working copy)
@@ -0,0 +1,19 @@
+--- man4/netcdf-f90.texi.orig	2014-02-17 18:54:10.000000000 +0100
++++ man4/netcdf-f90.texi	2014-02-17 18:56:51.000000000 +0100
+@@ -2082,7 +2082,6 @@
+ The name of the
+ group will be copied to this character array. The name will be less
+ than NF90_MAX_NAME in length.
+-@item
+ 
+ @end table
+ 
+@@ -6979,7 +6978,7 @@
+ @node FORTRAN 77 to Fortran 90 Transition Guide, Combined Index, Summary of Fortran 90 Interface, Top
+ @appendix Appendix B - FORTRAN 77 to Fortran 90 Transition Guide
+ 
+-@unnumberedsubsec The new Fortran 90 interface 
++@unnumberedsec The new Fortran 90 interface 
+ 
+ The Fortran 90 interface to the netCDF library closely follows the
+ FORTRAN 77 interface. In most cases, function and constant names and


Regards,
Christoph
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140217180742.1079D301C9>