You need the "patch" program.
You can get it if you install
cygwin or probably from
http://gnuwin32.sf.net
*.
If you're talking about Tk-804.025_beta8.patch (the latest, available from nick's directory on cpan),
this is what it says (hopefully it's self-explanatory)
# strip everything before this
# cd to your version of Tk-804.025_beta7
# and feed this file to /bin/sh
#
#
rm -f demos/demos/images/flower2.png
touch demos/demos/widget_lib/trace1.pl
chmod 0444 demos/demos/widget_lib/trace1.pl
touch PNG/libpng/scripts/makefile.mingw
chmod 0444 PNG/libpng/scripts/makefile.mingw
touch demos/demos/widget_lib/trace2.pl
chmod 0444 demos/demos/widget_lib/trace2.pl
touch demos/demos/widget_lib/choosedir.pl
chmod 0555 demos/demos/widget_lib/choosedir.pl
touch demos/demos/widget_lib/photo2.pl
chmod 0444 demos/demos/widget_lib/photo2.pl
patch -p1 -N <<'__END_OF_PATCH__'
...
patch --help describes the options
I quite often need to run ` chmod -R 0777 * ' in my Tk directory (cause I got cygwin)
cause permissions get messed up (probably a bug in cygwin's tar).
update: the gnuwin32 route is a lot less massive than cygwin
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" |
| I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). |
| ** The third rule of perl club is a statement of fact: pod is sexy. |
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.