Make the specified gettext version the minimum instead of the exact
version required. It fixes this error when cross-compiling:
*** error: gettext infrastructure mismatch: using a Makefile.in.in
from gettext version 0.19 but the autoconf macros are from gettext
version 0.20
Closes: https://bugs.gentoo.org/766549
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
Cross-compiling with LTO prevents the build system from detecting
endianness. Upstream says that enabling LTO with CFLAGS is not
supported, so filter -flto* out of CFLAGS after adding --enable-lto
to the configure command (which just adds back -flto after endian
tests pass).
Closes: https://bugs.gentoo.org/754654
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
The tests need __USE_MISC, which is undefined by -std=c11, which is
added by --enable-strict, which is the default setting. There are
fallback tests that work for native builds and non-LTO builds, but
this specific case has no fallback and requires this workaround.
Closes: https://bugs.gentoo.org/757681
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
The elisp-compile function needs a natively executable Emacs, and
it does not need to be in RDEPEND due to a few lisp files.
Closes: https://bugs.gentoo.org/759004
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
Warn users if USE=compat is enabled and also include a link
to upstream's interpretation of what USE=compat provides.
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Adds support various intrinsics for amd64, arm{,64}, ppc{,64}, x86.
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
We've discussed this in the past for sys-libs/zlib and we've avoided
enabling it there for now, although e.g. Debian did at the last time
I checked.
It's undefined behaviour and risky, even where it does (appear to) work
on e.g. amd64.
See: https://github.com/gentoo/gentoo/pull/17167
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
We're about to make several fixes including a blocker. Revbumping ensures
that everybody has these fixes but also makes subsequent commits
have easier-to-review diffs.
Also:
* Adjust ebuild layout
* Update DESCRIPTION to indicate fork
* Add bug reference to libdir workaround
* Adjust metadata indentation
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This fixes test failures on sparc in grep 3.6, although 3.5 still fails.
(This seems to be because of an older copy of gnulib in that version.)
It seems too risky to to backport gnulib changes to grep 3.5.
[Note that I ended up discovering an independent issue because filename-lineno.pl
failed on sparc too. This ended up being a real bug in that libpcre upstream
doesn't support JIT on sparc64 which manifested in both the test failing and
e.g. grep -P foo dying with SIGBUS.
I've therefore masked dev-libs/libpcre[jit] on sparc64 in fd573f4.]
URL: https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00002.html
URL: https://debbugs.gnu.org/46227
Bug: https://bugs.gentoo.org/673524
Closes: https://bugs.gentoo.org/768135
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>