donald riggs writes:
> Hello,
>
> I am attempting to port JDK1.1.7 to a Linux environment on the SA-1100 platform,
>and as a preliminary exercise, I am attempting to duplicate Blackdown's successful
>efforts at porting the JDK to the i386 Linux environment. As a first step, I have
>the Sun distribution of JDK1.1.7 via a software agreement, and I have in place all
>the pre-requisites described in Steve Byrne's README.linux.src description and in the
>README file for the JDK1.1.7 source release from Sun.
>
> My problem is that when I applied the patches from Blackdown, there were errors and
>I want to understand why. I applied the patches in the file I downloaded from the ftp
>site:
> jdk-1_1_7-v1a_diffs.gz
> There were two problems I saw when the patch was executed:
> First, an error terminated the patch:
> Patching file src/genunix/bin/appletviewer.sh using Plan A...
> patch: **** malformed patch at line 2846: \ No newline at end of file
Fix the diffs file -- you'll see a line that has \ at the start -- change the \
to a + or maybe a space and I think you're ok.
> Second, when patches were applied until the error occured, they were accompanied by
>a message like the following:
> Patching file build/minclude/sunw.jmk using Plan A...
> Hunk #1 succeeded at 2.
> Hmm... The next patch looks like a unified diff to me...
>
> I would like to know why both of these problems occurred in what should be a
>straightforward procedure. Do I have a different release of JDK 1.1.7 than
> Blackdown used? If so, I would appreciate a little more information about
> how the patches were applied to the Sun source distribution.
I'm not sure I understand what you think is the problem with this second
output. It looks ok to me.
Steve