···2021 # -fpermissive helps building opencascade, although gcc detects a flaw in the code
22 # and reports an error otherwise. Further versions may fix that.
23- NIX_CFLAGS_COMPILE = "-fpermissive";
002425 configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" "--with-qt=${qt4}" "--with-ftgl=${ftgl}" "--with-freetype=${freetype}" ];
26
···2021 # -fpermissive helps building opencascade, although gcc detects a flaw in the code
22 # and reports an error otherwise. Further versions may fix that.
23+ NIX_CFLAGS_COMPILE = "-fpermissive"
24+ # https://bugs.freedesktop.org/show_bug.cgi?id=83631
25+ + " -DGLX_GLXEXT_LEGACY";
2627 configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" "--with-qt=${qt4}" "--with-ftgl=${ftgl}" "--with-freetype=${freetype}" ];
28