Date: Fri, 16 Apr 2010 21:48:32 +1100 From: "Dima Panov" <fluffy@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/145754: java/jdk16: allow to build againist modern xorg Message-ID: <1271414912.20061@Fluffy.Khv.RU> Resent-Message-ID: <201004161050.o3GAo1Fb002536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145754 >Category: ports >Synopsis: java/jdk16: allow to build againist modern xorg >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 16 10:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dima Panov >Release: FreeBSD 9.0-900010-CURRENT amd64 >Organization: Fluffy.Khv.RU >Environment: System: FreeBSD 9.0-900010-CURRENT #0 r206514M: Tue Apr 13 10:15:09 VLAST 2010 fluffy@Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot >Description: java/jdk16: allow to build againist modern xorg >How-To-Repeat: Install xorg75 and try to build java/jdk16 Will get complains about missed MIT-SHM functions, they are moved to another proto includes >Fix: --- jdk16.diff begins here --- Index: java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h =================================================================== RCS file: java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h diff -N java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h 16 Apr 2010 10:40:33 -0000 @@ -0,0 +1,15 @@ +$FreeBSD:$ + +--- ../../j2se/src/solaris/native/sun/awt/awt_GraphicsEnv.h.orig 2010-04-16 21:28:02.000000000 +1100 ++++ ../../j2se/src/solaris/native/sun/awt/awt_GraphicsEnv.h 2010-04-16 21:39:52.635333540 +1100 +@@ -24,6 +24,10 @@ + #include <sys/ipc.h> + #include <sys/shm.h> + #include <X11/extensions/XShm.h> ++#ifndef X_ShmAttach ++#include <X11/Xmd.h> ++#include <X11/extensions/shmproto.h> ++#endif + + extern int XShmQueryExtension(); + --- jdk16.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1271414912.20061>