freebsd-ports/graphics/inventor/files/patch-machine.h
Maho Nakata 27e0b92655 a) add a possible patch to build on Alpha.
b) however, for safety, set ONLY_FOR_ARCHS= i386

Submitted by:	kris via bento
                Christian Gusenbauer <c47g@gmx.at> (maitainer)
2003-08-19 00:31:42 +00:00

23 lines
462 B
C

*** lib/database/include/machine.h.orig Mon Aug 18 18:36:50 2003
--- lib/database/include/machine.h Mon Aug 18 18:48:17 2003
***************
*** 152,157 ****
--- 152,169 ----
/*
+ * Alpha under FreeBSD
+ */
+
+ #if __alpha__ && __FreeBSD__
+
+ #define MACHINE_WORD_FORMAT DGL_LITTLE_ENDIAN
+ #define MACHINE_FLOAT_FORMAT DGL_NON_IEEE
+
+ #endif /* __alpha__ && __FreeBSD__ */
+
+
+ /*
* Apple Darwin (Mac OS X) machine dependent setup
*/