Looking for help applying patch to NEdit

Tony Balinski ajbj at free.fr
Thu Aug 2 02:26:21 CEST 2007


Quoting Bert Wesarg <wesarg at informatik.uni-halle.de>:

> Hello
> > Hello -
> >
> > I'm trying to apply the T. K. Soh toolbar patch to Nedit 5.5 source code,
> > and am having a problem understanding how to do this. This is the first
> > time
> > I've tried to apply a patch, so please excuse my ignorance.
> >
> > I've downloaded the Nedit source code nedit-5.5-src.tar.Z and
> > uncompressed/untarred it into a directory called "nedit-5.5" and compiled
> > and built the downloaded version on an HP-UX 11.11 workstation.
> >
> > Then, I downloaded the patch file nedit-toolbar-patch-v1.0b.txt.gz from
> > sourceforge, and unzipped the file. When I tried to apply the patch, all
> I
> > got was what I guess is an error message:
> >
> >     [14:58 ./nedit-5.5 ] patch -p1 < nedit-toolbar-patch-v1.0b.txt
> >     Hmm...  I can't seem to find a patch in there anywhere.
> Looks like the HP-UX patch(1) don't understand the unified diff format.
> you can try to install a patch programm that understand this format.
>
> Bert Wesarg

You can actually do the patching by hand. The format of the unified diff
(an improved version of context diff) is easy to follow, and the patch
isn't that big; but you'll have to create the files toolbar.[ch].

Tony


More information about the Discuss mailing list