* Piping patches direct to pgnus
@ 1999-02-12 2:35 Harry Putnam
1999-02-12 4:27 ` Justin Sheehy
0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 1999-02-12 2:35 UTC (permalink / raw)
I thought I remebered being able to pipe patches directly from mail
viewer to the pgnus lisp directory with the 'O p' command then giving
it 'patch' and the address pgnus-0.73/lisp/ or maybe
pgnus-0.73/lisp/*.el or something similar. Trying this with the patches
on ding-patches I get errors like:
patch: extra operand `/usr/local/pgnus-0.73/lisp/dgnushack.el'
patch: Try `patch --help' for more information.
I may be remembering doing this with patches to single files in */lisp
Can someone explain how this done or if it can be done?
--
Harry Putnam <reader@newsguy.com>
Running Redhat Linux 5.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Piping patches direct to pgnus
1999-02-12 2:35 Piping patches direct to pgnus Harry Putnam
@ 1999-02-12 4:27 ` Justin Sheehy
0 siblings, 0 replies; 2+ messages in thread
From: Justin Sheehy @ 1999-02-12 4:27 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> writes:
> I thought I remebered being able to pipe patches directly from mail
> viewer
> Trying this with the patches on ding-patches I get errors
Try something like:
`<part number> K |' on the article. Gnus version updates from Lars
generally have the patch as part 2, so you would press `2 K |'
When prompted, enter:
patch -d <directory above pgnus> -p 0
For instance, I have a directory like ~/lib/el/pgnus/lisp, so I enter:
patch -d ~/lib/el -p 0
and everything works nicely.
The directory that you enter after the -d switch can vary depending on
your setup and what the diff looks like.
Of course, you still need to do a `make' in the pgnus directory to
byte-compile after you patch the lisp files.
--
Justin Sheehy
In a cloud bones of steel.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-02-12 4:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-12 2:35 Piping patches direct to pgnus Harry Putnam
1999-02-12 4:27 ` Justin Sheehy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).