From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 11:10:46 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ACD216A4CE for ; Wed, 9 Mar 2005 11:10:46 +0000 (GMT) Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by mx1.FreeBSD.org (Postfix) with SMTP id EB82F43D48 for ; Wed, 9 Mar 2005 11:10:45 +0000 (GMT) (envelope-from vev@michvhf.com) Received: (qmail 83011 invoked by uid 1002); 6 Mar 2005 19:12:32 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 6 Mar 2005 19:12:32 -0000 Received: (qmail 2372 invoked by uid 1001); 6 Mar 2005 19:10:48 -0000 Date: Sun, 6 Mar 2005 14:10:48 -0500 (EST) From: Vince Vielhaber To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: jdk14 on 4.10 fails to patch X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 11:10:46 -0000 I'm trying to build jdk14 from the ports. I updated my ports tree right before I started. I have all of the necessary files but at the beginning of the build I get: 1 out of 1 hunks ignored--saving rejects to ../../j2se/src/solaris/native/sun/awt/awt_Component.c.rej => Patch patch-awt_Component.c failed to apply cleanly. *** Error code 1 Stop in /usr/ports/java/jdk14. but it did apply. Here's the contents of awt_Component.c.rej: *************** *** 1179,1185 **** } XtVaSetValues(to, XmNtraversalOn, True, NULL); } - } else if (from != NULL) { // disable the tree starting from uncommon part to 'from' if (parents_from[index] == parents_to[index]) { if (index == count_from - 1) { --- 1179,1185 ---- } XtVaSetValues(to, XmNtraversalOn, True, NULL); } + } else if (from != NULL && to != NULL) { // disable the tree starting from uncommon part to 'from' if (parents_from[index] == parents_to[index]) { if (index == count_from - 1) { Now if I remove this portion from the patch, it applies but fails in another place: 2 out of 2 hunks ignored--saving rejects to ../../deploy/make/Makefile.rej => Patch patch-deploy::Makefile failed to apply cleanly. => Patch(es) patch-awt_Component.c patch-common::Defs-bsd.gmk patch-control::common::Defs-bsd.gmk applied cleanly. *** Error code 1 Stop in /usr/ports/java/jdk14. The experimental patchset has the same failure. The version of patch is 2.1 I've dug around in the archives and don't see anyone else having these problems and I can't believe I'm the only one trying to build it so it must be something else. Any ideas what's wrong? Vince. -- http://www.meanstreamradio.com http://www.unknown-artists.com Online radio: It's not file sharing, it's just radio.