1 $NetBSD: patch-jdk_make_sun_xawt_Makefile,v 1.1 2013/06/15 09:31:06 jperkin Exp $
5 --- jdk/make/sun/xawt/Makefile.orig 2013-06-11 09:37:03.894233474 +0000
6 +++ jdk/make/sun/xawt/Makefile
7 @@ -170,6 +170,9 @@ endif
8 # we will set a flag indicating this mismatch and the JDK source file
9 # will interpret it to resolve the problem.
10 ifeq ($(PLATFORM), solaris)
11 + ifeq ($(CC_VERSION), gcc)
12 + CPPFLAGS += -I$(OPENWIN_HOME)/include
14 CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions
15 OS_VERSION := $(shell uname -r)
16 XRENDER_H := $(OPENWIN_HOME)/share/include/X11/extensions/Xrender.h