ports/print/ghostscript-gnu/files/patch-hpijs:platform.h
Mario Sergio Fujikawa Ferreira ed5be532e3 o style fixes
- deploy DATADIR/DOCSDIR
	- don't use internal .mk work variables, rely on supported
	  ones
		_DISTDIR -> DISTDIR/DIST_SUBDIR
o use <machine/endian.h> for checking byte order instead of an
  ARCH check

PR:		31078
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-10-06 17:24:19 +00:00

13 lines
300 B
C

--- hpijs/platform.h.orig Wed Oct 3 03:56:37 2001
+++ hpijs/platform.h Wed Oct 3 04:20:33 2001
@@ -13,3 +13,10 @@
#include <string.h>
#include <stdio.h>
#include <math.h>
+
+#ifdef __FreeBSD__
+#include <machine/endian.h>
+#if BYTE_ORDER == LITTLE_ENDIAN
+#define _LITTLE_ENDIAN
+#endif
+#endif