pkgsrc/lang/openjdk7/patches/patch-ae
tnn 19af254310 Update openjdk7 package to openjdk7-1.7.0.447.20110811.
- based on openjdk7 b147 and the bsd-port branch as of 20110811.
- integrates mozilla rhino 1.7R3 scripting support based on patches
  from icedtea7 snapshot as of 20110819.
- refresh bootstrap kits
  - tested on NetBSD 5.0/current, i386/amd64 and DragonFlyBSD 2.10 i386.

Upstream changes: mostly bugfixes. Perhaps also noteworthy is that the
zero assembler port has been integrated which should open up for wider
platform support in pkgsrc in the future.
2011-08-21 22:57:54 +00:00

20 lines
562 B
Text

$NetBSD: patch-ae,v 1.3 2011/08/21 22:57:55 tnn Exp $
--- hotspot/make/bsd/makefiles/gcc.make.orig 2011-08-20 10:42:27.000000000 +0000
+++ hotspot/make/bsd/makefiles/gcc.make
@@ -201,6 +201,15 @@ MAPFLAG = -Xlinker --version-script=FILE
#
# Shared Library
#
+
+ifeq ($(OS_VENDOR), NetBSD)
+# XXX tnn fixme: -lgcc_s seems to be needed on NetBSD.
+LFLAGS += -lgcc_s
+endif
+
+# XXX tnn fixme: this probably should go someplace else.
+CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
+
ifeq ($(OS_VENDOR), Darwin)
# Standard linker flags
LFLAGS +=