Created attachment 390234 [details, diff] gnome2-utils.eclass.patch Please fix incorrect sed script introduced in commit [1]. It actually does not replace -DGSEAL_ENABLE, see [2] for example. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/gnome2-utils.eclass?r1=1.33&r2=1.34 [2] https://bugs.gentoo.org/show_bug.cgi?id=448822#c5
> + -e 's:-DGSEAL_ENABLE(=[A-Za-z0-9_]*)?:$(NULL):g' \ '_' is unlikely to be used in the real life, so [:alnum:] character class should also work: + -e 's:-DGSEAL_ENABLE(=[[:alnum:]]*)?:$(NULL):g' \
(In reply to Alexander Tsoy from comment #1) > > + -e 's:-DGSEAL_ENABLE(=[A-Za-z0-9_]*)?:$(NULL):g' \ > > '_' is unlikely to be used in the real life, so [:alnum:] character class > should also work: > > + -e 's:-DGSEAL_ENABLE(=[[:alnum:]]*)?:$(NULL):g' \ @gnome team, what option do you prefer? :)
Per bug 448822 we could probably use "true" instead of $(NULL) to prevent the same warning as bug 448822
I would go with the former plus using /bin/true: + -e 's:-DGSEAL_ENABLE(=[A-Za-z0-9_]*)?:$(/bin/true):g' \
[master ca71627] eclass/gnome2-utils.eclass: fix DGSEAL_ENABLE sed (#530490 by Alexander Tsoy) 1 file changed, 1 insertion(+), 1 deletion(-)