This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Need help on PATCH



Hi all

I am newer to cygwin even unix . 

I download the gcc-2.95.2 source code and gcc-2.95.2-x86-win32-patch,
when I PATCH the gcc-2.95.2 source code , I meet the error message :

c:\gcc-2.95.2>patch -p1 --verbose < \temp\gcc-2.95.2-patches\gcc-2.95.2-x86-win32-patch.diff

...

Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: gcc-2.95.2/gcc/Makefile.in
|diff -c gcc-2.95.2/gcc/Makefile.in:1.1.1.1 gcc-2.95.2/gcc/Makefile.in:1.2
|*** gcc-2.95.2/gcc/Makefile.in:1.1.1.1 Thu Nov  4 19:09:41 1999
|--- gcc-2.95.2/gcc/Makefile.in Thu Nov  4 23:39:18 1999
--------------------------
Patching file `gcc/Makefile.in' using Plan A...
Hunk #1 FAILED at 1407.
Hunk #2 FAILED at 1972.
Hunk #3 FAILED at 2006.
Hunk #4 FAILED at 2031.
Hunk #5 FAILED at 2042.
5 out of 5 hunks FAILED -- saving rejects to gcc/Makefile.in.rej

so ,  I can not PATCH the source code .
The error happens both in BASH and dos box.
 
Does any one kindly help me ?
 
Bst. Rgd.
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]