From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 16 11:50:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A57D1065679 for ; Fri, 16 Apr 2010 11:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE2918FC23 for ; Fri, 16 Apr 2010 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3GBo1q4056415 for ; Fri, 16 Apr 2010 11:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3GBo1GF056414; Fri, 16 Apr 2010 11:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 16 Apr 2010 11:50:01 GMT Resent-Message-Id: <201004161150.o3GBo1GF056414@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dima Panov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7D53106564A for ; Fri, 16 Apr 2010 11:40:46 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0C1BF8FC13 for ; Fri, 16 Apr 2010 11:40:45 +0000 (UTC) Received: from Fluffy.Khv.RU (85.9.168.188.retail.ttk.ru [188.168.9.85] (may be forged)) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id o3GBeeIV082438 for ; Fri, 16 Apr 2010 22:40:41 +1100 (VLAST) (envelope-from fluffy@FreeBSD.org) Received: from Fluffy.Khv.RU (fluffy@localhost [IPv6:::1]) by Fluffy.Khv.RU (8.14.4/8.14.4/Fluffy/5.4.1) with ESMTP id o3GBeS6c059597 for ; Fri, 16 Apr 2010 22:40:28 +1100 (VLAST) (envelope-from fluffy@FreeBSD.org) Message-Id: <1271418028.49891@Fluffy.Khv.RU> Date: Fri, 16 Apr 2010 22:40:28 +1100 From: "Dima Panov" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/145757: java/openjdk6: allow to build againist modern xorg X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 11:50:02 -0000 >Number: 145757 >Category: ports >Synopsis: java/openjdk6: 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 11: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/openjdk6: allow to build againist modern xorg >How-To-Repeat: Install xorg75 and try to build java/openjdk6 Will get complains about missed MIT-SHM functions, they are moved to another proto includes >Fix: --- openjdk6.diff begins here --- Index: java/openjdk6/files/patch-set =================================================================== RCS file: /home/ncvs/ports/java/openjdk6/files/patch-set,v retrieving revision 1.4 diff -u -r1.4 patch-set --- java/openjdk6/files/patch-set 21 Jan 2010 08:51:59 -0000 1.4 +++ java/openjdk6/files/patch-set 16 Apr 2010 11:38:19 -0000 @@ -15860,6 +15860,20 @@ if (pLibRandR == NULL) { J2dRlsTraceLn(J2D_TRACE_ERROR, "X11GD_InitXrandrFuncs: Could not open libXrandr.so.2"); +diff -uNr ../orig/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h ./jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h +--- ../orig/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h.orig 2009-10-15 04:17:58.000000000 +1100 ++++ ./jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h 2010-04-16 22:34:10.692700677 +1100 +@@ -42,6 +42,10 @@ + #include + #include + #include ++#ifndef X_ShmAttach ++#include ++#include ++#endif + + extern int XShmQueryExtension(); + diff -uNr ../orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c ./jdk/src/solaris/native/sun/awt/awt_InputMethod.c --- ../orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2009-10-14 10:17:58.000000000 -0700 +++ ./jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2009-10-28 20:01:48.000000000 -0700 --- openjdk6.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: