p1 patches?

Marko Käning MK-MacPorts at techno.ms
Wed Dec 17 14:41:35 PST 2014


Hi René,

On 17 Dec 2014, at 23:31 , René J.V. Bertin <rjvbertin at gmail.com> wrote:
> Is there a way to use "p1" patches with the patchfiles command?
> Or, alternatively, is there a command to convert from p1 to p0 patches? Not that I can't do it manually, but that quickly gets considerably more error-prone than doing it in software…

best is to prepare the diff in such a way that you don’t need to use stg like
---
	patch.pre_args      -p1
---
see https://guide.macports.org/#reference.phases.patch

Greets,
Marko


More information about the macports-dev mailing list