diff options
author | jtb <jtb> | 2001-03-25 01:09:49 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-03-25 01:09:49 +0000 |
commit | a22a748e8cfcfd0ca288ef2f82567e86fb977699 (patch) | |
tree | 54a46685c0a6b8ead0e4fbed937caa36b10c67a8 /devel/hdf/patches/patch-ap | |
parent | 298d2ae5ae0e8e920699e302896296d491067ca9 (diff) | |
download | pkgsrc-a22a748e8cfcfd0ca288ef2f82567e86fb977699.tar.gz |
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.
Diffstat (limited to 'devel/hdf/patches/patch-ap')
-rw-r--r-- | devel/hdf/patches/patch-ap | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/hdf/patches/patch-ap b/devel/hdf/patches/patch-ap new file mode 100644 index 00000000000..d2e15b83b5f --- /dev/null +++ b/devel/hdf/patches/patch-ap @@ -0,0 +1,13 @@ +$NetBSD: patch-ap,v 1.1 2001/03/25 01:09:52 jtb Exp $ + +--- hdf/src/hconv.h.orig Sat Mar 24 20:43:34 2001 ++++ hdf/src/hconv.h +@@ -63,7 +63,7 @@ + /* CONSTANT DEFINITIONS */ + /*****************************************************************************/ + /* Generally Big-Endian machines */ +-#if !defined(VMS) && !defined(INTEL86) && !defined(MIPSEL) && !defined(DEC_ALPHA) && !defined(I860) && !defined(SUN386) && !defined(IA64) ++#if BYTE_ORDER == BIG_ENDIAN + # if !defined(UNICOS) + # define UI8_IN DFKnb1b /* Unsigned Integer, 8 bits */ + # define UI8_OUT DFKnb1b |