pkgsrc/lang/openjdk7/patches/patch-an
jperkin 8fb76ee717 Add SunOS/GCC support. With huge thanks to "jesse" from #SmartOS who did the
bulk of the porting work.  Tested on SmartOS 32-bit.  64-bit builds currently
fail, they should hopefully be fixed soon.
2013-06-15 09:31:05 +00:00

14 lines
488 B
Text

$NetBSD: patch-an,v 1.3 2013/06/15 09:31:05 jperkin Exp $
NetBSD fix.
--- hotspot/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp.orig 2012-08-10 16:24:31.000000000 +0000
+++ hotspot/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp
@@ -43,6 +43,7 @@
# define bswap_32(x) swap32(x)
# define bswap_64(x) swap64(x)
# elif defined(__NetBSD__)
+# include <machine/bswap.h>
# define bswap_16(x) bswap16(x)
# define bswap_32(x) bswap32(x)
# define bswap_64(x) bswap64(x)