----- Original Message -----
> From: "Marty E. Plummer" <hanet...@startmail.com>
> To: "Chet Ramey" <chet.ra...@case.edu>
> Cc: bash-annou...@gnu.org, bug-bash@gnu.org
> Sent: Thursday, May 31, 2018 3:08:57 AM
> Subject: Re: Bash patches format
>
> Well, as I said, debian and fedora convert to -p1 unified, as current
> debian packages using the quilt 3.0 format expect -p1; I'm unsure as to
> the rationale for fedora doing it.
I converted them so that I can use autosetup[1] macro, it allows automatic
patching in spec files. Other than bash upstream patches, all the patches were
applied through '-p1', so I had to convert upstream patches.
> And gentoo expects -p1 by default for
> patches applied by eapply (though you can specify -p0 in the ebuild, it
> is a deviation from the defaults).
>
> I don't believe debian actually needs a unified diff, but quilt 3.0
> requires -p1 (see
> https://lists.debian.org/debian-devel/2009/03/msg00368.html).
>
[1] https://src.fedoraproject.org/rpms/bash/blob/master/f/bash.spec#_125
--
--
Siteshwar Vashisht