pkgsrc/devel/hdf/patches/patch-ap
jtb 6338eb7674 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.
2001-03-25 01:09:49 +00:00

13 lines
639 B
Text

$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