From 61e89d1002b268f1c0edf23b7d0255fd47bc7e12 Mon Sep 17 00:00:00 2001 From: paparodeo <170618376+paparodeo@users.noreply.github.com> Date: Sun, 26 May 2024 03:24:15 +0000 Subject: 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. --- pkgs/tools/typesetting/tex/tetex/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/typesetting/tex/tetex/default.nix b/pkgs/tools/typesetting/tex/tetex/default.nix index d153864172187..4c3fba31945a9 100644 --- a/pkgs/tools/typesetting/tex/tetex/default.nix +++ b/pkgs/tools/typesetting/tex/tetex/default.nix @@ -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" -- cgit 1.4.1