Frank Heckenbach wrote:
Morten Gulbrandsen wrote:
Hello pascal programmers, this is interesting for me, it solves some problems I have.
I have unzipped gpc.fiff-emil2.gz but I don't know how to apply the patch.
You probably need GNU patch (since I made a unidiff; maybe other diffs understand it too, but I'm not sure).
Then go into the .../p directory and do `patch -p1 < gpc.diff-emil2' (options for GNU patch, if you're trying another diff, options might vary, or you might have to go one directory above).
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
Thank you, I tried.
su-2.04# pwd /usr/ports/lang/gpc/work/gpc/p su-2.04# ls -l gpc.diff-emil2 -rwxr-xr-x 1 root wheel 10485 Dec 30 19:36 gpc.diff-emil2 su-2.04# su-2.04# patch -p1 < gpc.diff-emil2 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -p -r -U3 -N -X /home/gpc/p/script/gpcdiff.exclude orig/p/doc/en/todo.texi p/doc/en/todo.texi |--- orig/p/doc/en/todo.texi Thu Dec 20 21:07:45 2001 |+++ p/doc/en/todo.texi Fri Dec 28 05:49:06 2001 -------------------------- File to patch:
what do I type now ?
I went one directory above : su-2.04# pwd /usr/ports/lang/gpc/work/gpc su-2.04# patch -p1 < gpc.diff-emil2 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -p -r -U3 -N -X /home/gpc/p/script/gpcdiff.exclude orig/p/doc/en/todo.texi p/doc/en/todo.texi |--- orig/p/doc/en/todo.texi Thu Dec 20 21:07:45 2001 |+++ p/doc/en/todo.texi Fri Dec 28 05:49:06 2001 -------------------------- File to patch:
Still don't know what to type ? I need some help with this, recently I tried to experiment with something I didn't understand, and my xserver crashed.
I prefer to type what I do understand. Do you think the file to patch: is gpc.diff-emil2 ?
If you say so I will try. What kind of version for GNU Patch do you have ? Do I have to compile, ./configure, make or install after patching ?
Thanks for your kind reply
Yours Sincerely
Morten Gulbrandsen