pkgsrc/devel/tvision/patches/patch-aa
joerg ea9e2618b7 Add DragonFly support. Fix ambigious conversions for GCC 3.4+ by
explicitly casting positions to long, since that is what the code
expects.
2006-01-03 09:45:57 +00:00

15 lines
303 B
Text

$NetBSD: patch-aa,v 1.3 2006/01/03 09:45:57 joerg Exp $
--- myendian.h.orig 2001-07-25 14:09:37.000000000 +0000
+++ myendian.h
@@ -32,6 +32,10 @@
#include <machine/endian.h>
+#elif defined(__NetBSD__) || defined(__DragonFly__)
+
+#include <sys/endian.h>
+
#elif sun
#define LITTLE_ENDIAN 1234