Date: Fri, 6 Feb 2004 22:00:23 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62431: Update port: math/netcdf Message-ID: <20040206220023.3f74ecd2.tkato@prontomail.com> Resent-Message-ID: <200402061310.i16DABIx077316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62431 >Category: ports >Synopsis: Update port: math/netcdf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 06 05:10:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: >Description: - Fix build on -current New file: files/patch-ncvalues.h >How-To-Repeat: >Fix: diff -urN /usr/ports/math/netcdf/Makefile math/netcdf/Makefile --- /usr/ports/math/netcdf/Makefile Thu Feb 5 18:29:44 2004 +++ math/netcdf/Makefile Thu Feb 5 20:55:35 2004 @@ -24,12 +24,6 @@ MAN1= ncdump.1 ncgen.1 MAN3= netcdf.3 netcdf.3f -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502000 -BROKEN= "Does not compile" -.endif - post-build: @(cd ${WRKSRC}/libsrc && \ ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) @@ -42,4 +36,4 @@ ${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1 ${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/math/netcdf/files/patch-ncvalues.h math/netcdf/files/patch-ncvalues.h --- /usr/ports/math/netcdf/files/patch-ncvalues.h Thu Jan 1 09:00:00 1970 +++ math/netcdf/files/patch-ncvalues.h Thu Feb 5 20:53:00 2004 @@ -0,0 +1,20 @@ +--- cxx/ncvalues.h.orig Thu Oct 29 02:10:16 1998 ++++ cxx/ncvalues.h Thu Feb 5 20:51:02 2004 +@@ -14,7 +14,7 @@ + #ifdef STRSTREAM_H_SPEC + # include STRSTREAM_H_SPEC + #else +-# include <strstream.h> ++# include <strstream> + #endif + #include <limits.h> + #include <string.h> +@@ -220,7 +220,7 @@ + char* NcVal(TYPE)::as_string( long n ) const \ + { \ + char* s = new char[32]; \ +- ostrstream ostr(s, sizeof(s)); \ ++ std::ostrstream ostr(s, sizeof(s)); \ + ostr << the_values[n] << ends; \ + return s; \ + } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206220023.3f74ecd2.tkato>