tetex: fix darwin build

specify -std=gnu89 and -std=c++03 to fix the configure script and build.
the tarballs were last updated in 2006 and the package is no longer
maintain so use standards from the era.

(cherry picked from commit 61e89d1002)
This commit is contained in:
paparodeo 2024-05-26 03:24:15 +00:00 committed by github-actions[bot]
parent b841269d85
commit 85b86328ec

View File

@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
env = {
CFLAGS = "-std=gnu89";
CXXFLAGS = "-std=c++03";
};
configureFlags =
[ "--disable-multiplatform" "--without-x11" "--without-xdvik"
"--without-oxdvik" "--without-texinfo" "--without-texi2html"