New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev-util/quilt: fix broken patch #11834
Conversation
Copyright policy changePlease note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article. Pull Request assignmentSubmitter: @hanetzer dev-util/quilt: At least one of the listed packages is maintained entirely by non-GitHub developers! Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
dev-util/quilt/quilt-0.66.ebuild
Outdated
@@ -33,7 +33,7 @@ pkg_setup() { | |||
|
|||
src_prepare() { | |||
# Add support for USE=graphviz | |||
use graphviz || eapply -p0 "${FILESDIR}/${P}-no-graphviz.patch" | |||
use graphviz || eapply "${FILESDIR}/${P}-no-graphviz.patch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a better version is:
use graphviz || PATCHES+=( "${FILESDIR}"/${PN}-0.66-no-graphviz.patch )
(I think ${PN}-0.66
is better than ${P}
for future versions can easier reuse, and the version in the patch name represents the first version in which it is used)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true that. Also, just realized my in-use ::gentoo tree was out of date relative to my dev tree,
so this had already been fixed.
@mpagano please take a look |
@gyakovlev @mpagano this issue was actually already fixed, but it would probably |
ah, I should update then. |
Why all those unrelated line changes in the patch? |
@a17r Honestly, I just did |
Probably the bug that led to this was fixed in commit 9d80e44 already. That limits this PR to cosmetic changes only, and it is imo not worth your time to make you redo the patch file to remove the useless churn in order to get it mergeable. |
@a17r mostly the point is to move it from p0 to p1 now (since I was apparently just out of date on |
Adjusted the patch to be -p1 applicable. Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Pull request CI reportReport generated at: 2019-04-29 20:56 UTC No issues found |
Adjusted the patch to be -p1 applicable. Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> Closes: gentoo#11834 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Adjusted the patch to be -p1 applicable. Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> Closes: gentoo#11834 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
As it currently stands with USE="-graphviz" quilt-0.66-no-graphviz.patch
does not apply to the source tree. Fixed that and adjusted the patch to
be -p1 applicable.
Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: Signed-off-by: Marty E. Plummer hanetzer@startmail.com