freebsd-ports/cad/opencascade/files/patch-ros_src_WOKTools_WOKTools_Options.cxx
Thierry Thomas de5ea4454a Open CASCADE Technology is a software development platform freely available in
open source. It includes components for 3D surface and solid modeling,
visualization, data exchange and rapid application development.

Open CASCADE Technology can be best applied in development of numerical
simulation software including CAD/CAM/CAE, AEC and GIS, as well as PDM
applications.

BUGS: the module WOK does not work, but the other modules (the most
interesting parts) are OK.
2007-04-01 09:04:04 +00:00

11 lines
338 B
C++

--- ros/src/WOKTools/WOKTools_Options.cxx.orig Fri Sep 21 10:08:54 2001
+++ ros/src/WOKTools/WOKTools_Options.cxx Fri Aug 11 22:00:09 2006
@@ -52,6 +52,8 @@
myerrflg = Standard_False;
#if !defined( WNT ) && !defined( __GNUC__ )
optind = 1;
+#elif defined(__FreeBSD__)
+ optind = 1;
#else
optind = 0;
#endif // WNT