Files
gentoo/app-text/ghostscript-gpl/files/ghostscript-gpl-10.06.0-stdint.patch
Holger Hoffstätte b3306a3af3 app-text/ghostscript-gpl: fixes for autoconf-2.73 & pillow test failure
autoconf-2.73 has started to automagically add C23 to AC_PROG_CC,
which broke a previous workaround for the build system passing CFLAGS
to the C++ compiler. Undo that fix and inject -std=gnu17/gnu++17 into
econf and explicitly also into emake. This fixes both the problem of
autoconf rewriting CC and the CFLAGS/C++ confusion.
While here move to EAPI-9, add a fix for a reported pillow test failure
due to slight image distortion, a fix for gcc-14 also affected by
autoconf-2.73, and additional stdint.h sprinkles which for some reason
are now necessary.
There is a remaining issue that autoconf-2.73 helpfully adds -std=c++17
despite the fact that we pass in -std=gnu++17, but this seems benign.

Closes: https://bugs.gentoo.org/964040
Closes: https://bugs.gentoo.org/971915
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/495
Merges: https://codeberg.org/gentoo/gentoo/pulls/495
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-02 21:50:11 +01:00

3.9 KiB