Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14214

Re: Bash patches format

From Siteshwar Vashisht <svashisht@redhat.com>
Newsgroups gnu.bash.bug
Subject Re: Bash patches format
Date 2018-06-03 17:39 -0400
Message-ID <mailman.1079.1528061962.1292.bug-bash@gnu.org> (permalink)
References <20180519134601.u3dfrjzip3do7daj@proprietary-killer> <2b5ce5fe-3250-ba63-4ad7-0326ac5a5707@case.edu> <20180530002542.dpwb756slvtjgtxu@proprietary-killer> <7c62d918-902f-e9f7-2672-00b1f01f62ca@case.edu> <20180531010857.bkrrz7mktxqq4hvf@proprietary-killer>

Show all headers | View raw



----- Original Message -----
> From: "Marty E. Plummer" <hanetzer@startmail.com>
> To: "Chet Ramey" <chet.ramey@case.edu>
> Cc: bash-announce@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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Bash patches format Siteshwar Vashisht <svashisht@redhat.com> - 2018-06-03 17:39 -0400

csiph-web