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.
This commit is contained in:
paparodeo
2024-05-26 03:41:29 +00:00
parent da028a2936
commit 61e89d1002
@@ -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"