head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.50 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.48 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.46 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.44 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.42 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.40 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.38 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.36 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.34 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.32 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.30 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.28 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.26 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.24 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.22 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.20 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.18 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.16 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.14 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.12 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.10 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2; locks; strict; comment @# @; 1.3 date 2004.04.20.18.14.37; author drochner; state dead; branches; next 1.2; 1.2 date 2001.04.19.00.56.34; author jtb; state Exp; branches; next 1.1; 1.1 date 2001.03.25.01.09.53; author jtb; state Exp; branches; next ; desc @@ 1.3 log @update to 4.2r0 changes: -configuration changes -support "szip" compression -some utilities added -fp2hdf replaced by hdfimport -USE_BUILDLINK3 @ text @$NetBSD: patch-aq,v 1.2 2001/04/19 00:56:34 jtb Exp $ --- mfhdf/libsrc/array.c.orig Thu Apr 19 00:27:02 2001 +++ mfhdf/libsrc/array.c @@@@ -6,6 +6,11 @@@@ #include +#include #include "local_nc.h" #include "alloc.h" + +#if BYTE_ORDER == LITTLE_ENDIAN +#define SWAP 1 +#endif #ifdef NO_MEM_FUNCTS @ 1.2 log @Add -DNETLONG=int to CPPFLAGS instead of using a patch. Only link executables with libm when truly necessary. Add sparc64 and powerpc support. Determine endianness at compile time rather than at configuration. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Build only static libraries since part of the library is written in Fortran, libf2c is static, etc. Fixed "hdfi.h" to work with any architecture supported by NetBSD. Use "xdrposix.c" instead of "xdrstdio.c" since the latter seems to be missing some functions. Fixed "initialization from incompatible pointer type" warnings. General improvements to Makefiles. Should build/work on any NetBSD system now. @ text @d3 14 a16 20 --- mfhdf/libsrc/xdrposix.c.orig Sun Mar 25 01:00:57 2001 +++ mfhdf/libsrc/xdrposix.c @@@@ -300,7 +300,7 @@@@ #if (_MIPS_SZLONG == 64) static long * xdrposix_inline(); #else -static netlong * xdrposix_inline(); +static int * xdrposix_inline(); #endif #endif static void xdrposix_destroy(); @@@@ -542,7 +542,7 @@@@ #if (_MIPS_SZLONG == 64) static long * #else -static netlong * +static int * #endif #endif xdrposix_inline(xdrs, len) @