+3
-1
pkgs/development/libraries/opencascade/6.5.nix
+3
-1
pkgs/development/libraries/opencascade/6.5.nix
···
20
21
# -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
25
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" "--with-qt=${qt4}" "--with-ftgl=${ftgl}" "--with-freetype=${freetype}" ];
26
···
20
21
# -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";
26
27
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" "--with-qt=${qt4}" "--with-ftgl=${ftgl}" "--with-freetype=${freetype}" ];
28
+3
pkgs/development/libraries/opencascade/default.nix
+3
pkgs/development/libraries/opencascade/default.nix
···
14
cmakeFlags="$cmakeFlags -DINSTALL_DIR=$out -D3RDPARTY_TCL_DIR=${tcl} -D3RDPARTY_FREETYPE_DIR=${freetype}"
15
'';
16
17
+
# https://bugs.freedesktop.org/show_bug.cgi?id=83631
18
+
NIX_CFLAGS_COMPILE = "-DGLX_GLXEXT_LEGACY";
19
+
20
postInstall = ''
21
mv $out/inc $out/include
22
mkdir -p $out/share/doc/${name}
+3
pkgs/development/libraries/opencascade/oce.nix
+3
pkgs/development/libraries/opencascade/oce.nix