Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#13245 - grep + debian patches
Attached to Project:
Arch Linux
Opened by Xavier (shining) - Thursday, 12 February 2009, 21:58 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 06 March 2009, 21:22 GMT
Opened by Xavier (shining) - Thursday, 12 February 2009, 21:58 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 06 March 2009, 21:22 GMT
|
DetailsThere is a new version of grep : 2.5.4, but as expected the majority of the existing fixes are still needed.
See It looks quite easy to just re-use all the debian patches by directly taking their diff.gz. That would mean very little work from the maintainer for the future upstream updates, just pickup the new debian diff.gz file, bump the version, and you are done. Currently, if you want to update the PKGBUILD, you have to extract manually the needed patches from debian diff.gz or try to grab it from some other distribs. |
This task depends upon
PKGBUILD
grep_2.5.4-1.diff.gz
It is still possible to get the same ease of use by using directly the debian diff.gz but only applying the needed patches, see attached PKGBUILD-v2.
Otherwise we can stick with the current methods, see PKGBUILD-v1 and the attached patch 64-egf-speedup.patch .
And for applying all patches, see PKGBUILD-v3 which is the one I attached originally + a small fix for successive builds (rm -r debian).
The one which interests me the most is the egf speedup one, since I noticed the huge performance slowdown in utf8 locale myself. That patch was submitted upstream 4 years ago : http://savannah.gnu.org/patch/?3803
Last time I checked, redhat/fedora and debian patchset for grep were pretty similar. I would think most of these patches are valid, but I agree that it would require a closer look to at least know which issues are addressed.
So I am fine with just applying 64-egf-speedup.patch
And 2.5.4 was in testing and is in core meanwhile.