[Mailman-Users] mhonarc patch

Mark Sapiro mark at msapiro.net
Fri Jul 18 20:12:33 CEST 2014


On 07/18/2014 10:59 AM, Peter Knowles wrote:
> Mark,
> 
> I hate to be a pest.
> 
> 1. I saved your patch in "/usr/src"
> 
> 2. I enter the folder "/usr/src/mailman-2.1.18-1"
> 
> 3. I run "patch -p1 < ../Mailbox.py.patch"
> 
> 4. The following message is presented:
> 
> (Stripping trailing CRs from patch.)
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?


It's partly my fault as I didn't have the same paths as the other
patches, but at steps 2 and 3 you need

cd /usr/src/mailman-2.1.18-1/Mailman
patch -p0 < ../../Mailbox.py.patch

Or you could just do

patch Mailman/Mailbox.py < ../Mailbox.py.patch
in the /usr/src/mailman-2.1.18-1 directory.

See 'man patch'

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list