Update: This is perhaps a long winded approach, but I think it helps to understand the process in full.
Download the module, extract the archive, then:
wget https://rt.cpan.org/Ticket/Attachment/1576496/841876/0001-Fix-a-p +ad-problem-with-Perl-5.21.4-on-threaded-build.patch marto@shemp ~/Devel-CallParser-0.002 $ patch -p1 < 0001-Fix-a-pad-prob +lem-with-Perl-5.21.4-on-threaded-build.patch patching file lib/Devel/CallParser.xs patching file t/pad2.t
Notice that the patch has created the new file you're looking for (you can see everything the patch does by reading it and following the logic). Then:
marto@shemp ~/Devel-CallParser-0.002 $ cpanm . --> Working on . Configuring Devel-CallParser-0.002 ... OK Building and testing Devel-CallParser-0.002 ... OK Successfully installed Devel-CallParser-0.002 1 distribution installed
In reply to Re: How to patch this module?
by marto
in thread How to patch this module?
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |