Unverified Commit 61e89d10 authored by paparodeo's avatar paparodeo
Browse files

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.
parent da028a29
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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"