From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 11:19:51 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 217F916A4CE for ; Wed, 9 Mar 2005 11:19:51 +0000 (GMT) Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by mx1.FreeBSD.org (Postfix) with SMTP id A083D43D54 for ; Wed, 9 Mar 2005 11:19:50 +0000 (GMT) (envelope-from vev@michvhf.com) Received: (qmail 69948 invoked by uid 1002); 9 Mar 2005 11:21:38 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 9 Mar 2005 11:21:38 -0000 Received: (qmail 95196 invoked by uid 1001); 9 Mar 2005 11:19:50 -0000 Date: Wed, 9 Mar 2005 06:19:50 -0500 (EST) From: Vince Vielhaber To: freebsd-java@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: 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:19:51 -0000 A followup to this since I've got it installed now. The patches in the files directory of the port appear to already be in jdk14.patch. On Sun, 6 Mar 2005, Vince Vielhaber wrote: > > 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. > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > Vince. -- Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ http://www.meanstreamradio.com http://www.unknown-artists.com Online radio: It's not file sharing, it's just radio.