Summary: | dev-util/cppcheck-1.88 should pass CFGDIR to cppcheck-gui during build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gabriel Marcano <gabemarcano> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, gabemarcano |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | cppcheck-1.88-fix-cfgdir-gui.patch |
Description
Gabriel Marcano
2019-11-08 06:38:46 UTC
Created attachment 595418 [details, diff]
cppcheck-1.88-fix-cfgdir-gui.patch
When applied to the ebuild this fixes the issue. cppcheck-gui is able to find std.cfg properly. I'm not all that happy about all of the escaping that was necessary to get the " to make it through properly.
At this point cppcheck-1.90 is available upstream, and they've completely changed the way they're handling this particular variable. Should we bother patching 1.88 at this point? As an aside, they've renamed CFGDIR to FILESDIR, which collides with the Gentoo FILESDIR variable. In a testing ebuild I have locally, I had to sed s/FILESDIR/FILESDIR_/ to stop the collision from happening for 1.90... The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f631b786b5dc48a16224e856417ceb44231428a7 commit f631b786b5dc48a16224e856417ceb44231428a7 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2020-12-04 04:56:31 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2020-12-04 05:37:16 +0000 dev-util/cppcheck: version bump to 2.2 Thanks to Bernd Buschinski for the initial ebuild Closes: https://bugs.gentoo.org/693352 Bug: https://bugs.gentoo.org/699594 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Matthias Maier <tamiko@gentoo.org> dev-util/cppcheck/Manifest | 1 + dev-util/cppcheck/cppcheck-2.2.ebuild | 80 +++++++++++++++++++++++++++++++++++ dev-util/cppcheck/metadata.xml | 3 ++ profiles/arch/hppa/package.use.mask | 4 ++ profiles/arch/sparc/package.use.mask | 4 ++ 5 files changed, 92 insertions(+) |