[XForms] Patch help
jason cipriani
jac4 at mindless.com
Thu May 27 14:48:50 EDT 2004
Generate your diff file just like you are doing now:
diff -ruN xforms1.0.90 mine-1.0.90 > xforms.patch
Then download a fresh copy of xforms, untar it to say, fresh-1.0.90, then do:
cd fresh-1.0.90
patch -p1 < ../xforms.patch
Don't forget the < in patch. Most versions of 'patch' take input files that way, you can't specify them as command line parameters.
The -p1 will tell patch to skip the "xforms1.0.90/" or "mine-1.0.90/" when getting file names from the patch file.
Jason
----- Original Message -----
From: Jeff <wd4nmq at comcast.net>
Date: Thu, 27 May 2004 14:13:38 -0400
To: xforms <xforms at bob.usuhs.mil>
Subject: [XForms] Patch help
> To subscribers of the xforms list
>
>
> It's been many years since I have made a patch and I am having trouble
> creating one tht works with Xforms.
>
> I untar xforms-1.0.90 and then cp it to mine-1.0.90 and make my changes
> to files in mine-1.0.90.
> then from their base directory I run:
>
> diff -ruN xforms1.0.90 mine-1.0.90 > xforms.patch
>
> Now to test it I go to a vigin directory, copy xforms.patch there and
> untar xforms.1.0.90 again. Then I run
>
> patch -p0 xforms.patch
>
> But I get an error:
> patching file xforms-1.090/lib/forms.c
> Reversed (or previously applied) patch detected! Assume -R? [n]
>
> What am I doing wrong?
>
> I want to test out the patch before submitting it today.
>
> Jeff
>
>
> _______________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request at bob.usuhs.mil or see:
> http://cweblog.usuhs.mil/mailman/listinfo/xforms
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/pipermail/xforms and
> http://bob.usuhs.mil/mailserv/list-archives/
> Development: http://savannah.nongnu.org/files/?group=xforms
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
More information about the Xforms
mailing list