On 9/15/20 10:44 AM, Dennis Putnam wrote: > > I guess I don't know how to use patch. Better documentation would be > helpful.
man patch? > # patch --verbose -i ../mailman-FHS.patch > > Hmm... Looks like a unified diff to me... > can't find file to patch at input line 5 > Perhaps you should have used the -p or --strip option? > The text leading up to this was: > -------------------------- > |Only in mailman-2.1.5.FHS: autom4te.cache > |diff -r -u mailman-2.1.5.orig/bin/check_perms > mailman-2.1.5.FHS/bin/check_perms > |--- mailman-2.1.5.orig/bin/check_perms 2003-03-31 15:07:55.000000000 > -0500 > |+++ mailman-2.1.5.FHS/bin/check_perms 2004-10-08 16:05:09.000000000 > -0400 > -------------------------- > File to patch: > > Before I screw it up, is it wanting to patch the file listed in the diff > command (i.e. check_perms)? I also assume I need to use -u. If you are in the directory that you unpacked the Mailman 2.1.34 tarball into, do patch -p1 < /path/to/mailman-FHS.patch -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/