1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Upgrade to 6.6.0, with several patches from Andrea Venturoli <ml (at)

netfence.it>.

Release notes at
<http://www.opencascade.com/pub/doc/Release_Notes_6.6.0.pdf>.
This commit is contained in:
Thierry Thomas 2013-05-12 17:31:20 +00:00
parent d60a53cd60
commit 1431cd6ef6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317970
41 changed files with 14466 additions and 69216 deletions

View File

@ -1,178 +1,184 @@
# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= opencascade
PORTVERSION= 6.3
PORTREVISION= 11
CATEGORIES= cad science
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= thierry
PORTNAME= OpenCASCADE
PORTVERSION= 6.6.0
CATEGORIES= cad science
MASTER_SITES= http://files.opencascade.com/OCCT/OCC_${PORTVERSION}_release/
DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= thierry@FreeBSD.org
COMMENT= Open CASCADE Technology, 3D modeling & numerical simulation
BUILD_DEPENDS= ${LOCALBASE}/include/stlport/algorithm:${PORTSDIR}/devel/stlport
RUN_DEPENDS= ${LOCALBASE}/include/stlport/algorithm:${PORTSDIR}/devel/stlport \
autoexpect:${PORTSDIR}/lang/expect \
${LIB_TCLX}:${PORTSDIR}/lang/tclX
LIB_DEPENDS= itcl.${ITCL_VER}:${PORTSDIR}/lang/itcl \
itk.${ITK_VER}:${PORTSDIR}/x11-toolkits/itk \
Tix${TIX_VER}:${PORTSDIR}/x11-toolkits/tix \
fltk.1:${PORTSDIR}/x11-toolkits/fltk \
dps.0:${PORTSDIR}/x11/dgs
LICENSE= OCTPL
LICENSE_NAME= Open CASCADE Technology Public License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_BZIP2= yes
USES= bison
USE_TK= 84+
USE_TCL_BUILD= 84+
USE_TCL_RUN= 84+
USE_JAVA= yes
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USES= bison shebangfix
USE_XORG= xmu
JAVA_VERSION= 1.6+
#.if defined(MAINTAINER_MODE)
# linux-sun-jdk was required for 6.1, but 6.2 is OK with diablo-jdk.
#JAVA_OS= linux
#.endif
SHEBANG_FILES= adm/cmake/draw.sh env_amk.sh draw.sh xcode.sh env.sh draw_amk.sh \
codeblocks.sh custom.sh custom_amk.sh.in
ITCL_VER= 3
ITCL_MM= 3.3
ITK_VER= 3
ITK_MM= 3.3
TIX_VER= 8.4.3
TIX_MM= 8.4.3
TCLX_VER= 8.4
LIB_TCLX= ${LOCALBASE}/lib/tclx${TCLX_VER}/libtclx${TCLX_VER}.so
OPTIONS_DEFINE= TBB VIS OCAF DE DRAW FI QT JAVA DATA DOCS EXAMPLES
TBB_DESC= "Build with TBB"
VIS_DESC= "Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps)"
OCAF_DESC= "Build Application Framework (requires VIS)"
DE_DESC= "Build DataExchange module (requires OCAF)"
DRAW_DESC= "Build Test Harness (requires DE and TCL)"
FI_DESC= "Enable freeimage support"
QT_DESC= "Enable QT support"
JAVA_DESC= "Enable Java support"
OPTIONS_DEFAULT=TBB VIS OCAF DE DRAW FI DATA DOCS EXAMPLES
PATCH_WRKSRC= ${WRKDIR}/OpenCASCADE${PORTVERSION}.0
WRKSRC= ${PATCH_WRKSRC}/ros
WRKSRC= ${WRKDIR}/ros
REINPLACE_ARGS= -i ""
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-java-include=${JAVA_HOME}/include \
--with-dps-include=${LOCALBASE}/include \
--with-dps-library=${LOCALBASE}/lib \
--with-gl-include=${LOCALBASE}/include \
--with-gl-library=${LOCALBASE}/lib \
--with-xmu-include=${LOCALBASE}/include/X11 \
--with-xmu-library=${LOCALBASE}/lib \
--with-stlport-include=${LOCALBASE}/include/stlport \
--with-stlport-libname=stlport_${STL_COMPILER} \
--with-stlport-library=${LOCALBASE}/lib \
--enable-production=yes
CONFIGURE_ENV= ARCH=${ARCH} LD=${CXX}
CPPFLAGS+= ${CXXFLAGS} ${GCC4WA} -I${LOCALBASE}/include \
-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
-DUSE_INTERP_RESULT
# We strip the libs
MAKE_ENV= INSTALL_STRIP_FLAG=-s OCC_BUILDDIR="${PATCH_WRKSRC}" \
OCC_INSTALLDIR="${OCCROOT}" LD=${CXX}
USE_AUTOTOOLS= aclocal libtoolize autoheader automake
LIBTOOLIZE_ARGS=--force --copy --automake
AUTOMAKE_ARGS= --add-missing --copy --gnu
ACLOCAL_ARGS=
CPPFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= LOCCROOT=${LOCCROOT}
USE_LDCONFIG= yes
STL_COMPILER?= gcc
LOCCROOT= OpenCAS
OCCROOT= ${PREFIX}/${LOCCROOT}
CASROOT= ${OCCROOT}/ros
PLIST_SUB= OCCROOT="${LOCCROOT}"
SUB_LIST= OCCROOT="${OCCROOT}" PORTNAME=${PORTNAME} FILESDIR=${FILESDIR}
SUB_FILES= pkg-message LICENSE.${OPSYS}
PKGMESSAGE= ${WRKDIR}/pkg-message
FBSDBIN= DRAWEXE wokprocess woksh
DIR2INST= data
#DIR2INST+= tools wok
SRC2INST= adm drv inc make src
.if !defined(NOPORTDOCS)
DIR2INST+= doc
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTBB}
LIB_DEPENDS+= tbb:${PORTSDIR}/devel/tbb
CONFIGURE_ARGS+=--with-tbb-include=${LOCALBASE}/include \
--with-tbb-library=${LOCALBASE}/lib
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 700036 && defined(PACKAGE_BUILDING)
# Work-around for gcc-41+
GCC4WA= -ffriend-injection -fpermissive
.if ${PORT_OPTIONS:MVIS}
CONFIGURE_ARGS+=--enable-vis \
--with-ftgl=${LOCALBASE} \
--with-freetype=${LOCALBASE} \
--with-gl2ps=${LOCALBASE}
USE_GL= glu
LIB_DEPENDS+= ftgl:${PORTSDIR}/graphics/ftgl \
freetype:${PORTSDIR}/print/freetype2 \
gl2ps:${PORTSDIR}/print/gl2ps
PLIST_SUB+= VIS=""
. if ${PORT_OPTIONS:MOCAF}
CONFIGURE_ARGS+=--enable-caf
PLIST_SUB+= OCAF=""
. if ${PORT_OPTIONS:MDE}
CONFIGURE_ARGS+=--enable-dxe
PLIST_SUB+= DE=""
. if ${PORT_OPTIONS:MDRAW}
CONFIGURE_ARGS+=--enable-draw \
--with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR}
USE_TK= 84+
LIB_DEPENDS+= itcl.${ITCL_VER}:${PORTSDIR}/lang/itcl \
Tix${TIX_VER}:${PORTSDIR}/x11-toolkits/tix
ITCL_VER= 3
TIX_VER= 8.4.3
TIX_MM= 8.4.3
PLIST_SUB+= DRAW=""
. else
CONFIGURE_ARGS+=--without-tcl --disable-draw
PLIST_SUB+= DRAW="@comment "
. endif
. else
CONFIGURE_ARGS+=--disable-dxe --without-tcl --disable-draw
PLIST_SUB+= DRAW="@comment " DE="@comment "
. endif
. else
CONFIGURE_ARGS+=--disable-caf --without-tcl --disable-draw --disable-dxe
PLIST_SUB+= DE="@comment " DRAW="@comment " OCAF="@comment "
. endif
.else
CONFIGURE_ARGS+=--disable-vis --without-tcl --disable-draw --disable-dxe --disable-caf
PLIST_SUB+= VIS="@comment " DRAW="@comment " DE="@comment " OCAF="@comment "
.endif
.if ${PORT_OPTIONS:MFI}
LIB_DEPENDS+= freeimageplus:${PORTSDIR}/graphics/freeimage
CONFIGURE_ARGS+=--with-freeimage=${LOCALBASE}
.else
PLIST_SUB+= FI="@comment "
.endif
.if ${PORT_OPTIONS:MQT}
USE_QT4= corelib gui
CONFIGURE_ARGS+=--with-qt=${LOCALBASE}
LDFLAGS+= -L${QT_LIBDIR}
.else
PLIST_SUB+= QT="@comment "
.endif
.if ${PORT_OPTIONS:MJAVA}
USE_JAVA= yes
JAVA_VERSION= 1.6+
CONFIGURE_ARGS+=--with-java-include=${JAVA_HOME}/include
.else
CONFIGURE_ARGS+=--without-java-include
PLIST_SUB+= JAVA="@comment "
.endif
.if ${PORT_OPTIONS:MDATA}
PORTDATA= *
.endif
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES= *
.endif
F_MALLOC= OSD/OSD_signal_WNT.cxx OSD/OSD_Csharedmemory.c OSD/OSD_MemInfo.cxx \
OSD/OSD_Thread.cxx OSD/OSD.cxx OSD/OSD_SharedLibrary.cxx \
OSD/OSD_MemInfo.cxx MMgt/MMgt_StackManager.cxx Image/Image_PixMap.cxx \
Standard/Standard_MMgrOpt.cxx Standard/Standard.cxx StepFile/step.yacc \
StepFile/recfile.pc ExprIntrp/ExprIntrp.tab.c
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "Warning: to build OpenCascade, you should have at least"
@${ECHO_MSG} "3.7 Gb of free disk space in build area!"
@${ECHO_MSG} "2.6 Gb of free disk space in build area!"
@${ECHO_MSG}
pre-configure:
${REINPLACE_CMD} -e 's|%%CASROOT%%|${CASROOT}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-e 's|%%TCL_LIBDIR%%|${TCL_LIBDIR}|' \
-e 's|%%TK_LIBDIR%%|${TK_LIBDIR}|' \
-e 's|%%ITCLMM%%|${ITCL_VER}|' \
-e 's|%%ITKMM%%|${ITK_MM}|' \
-e 's|%%TIX_MM%%|${TIX_MM}|' \
-e 's|!/bin/ksh|! ${LOCALBASE}/bin/ksh|'\
${WRKSRC}/env.csh ${WRKSRC}/env.ksh
${REINPLACE_CMD} -e 's|/tmp/OCC50|${CASROOT}|' \
-e 's|/usr/bin/g++|${CXX}|' \
-e 's|/usr/bin/gcc|${CC}|' \
-e 's|%%JAVAHOME%%|${JAVA_HOME}|' \
-e 's|/usr/local|${LOCALBASE}|' \
-e 's|/usr/X11R6|${LOCALBASE}|' \
${WRKSRC}/src/OS/Draw.tcl \
${WRKSRC}/src/OS/Visualization.tcl \
${WRKSRC}/src/OS/ApplicationFramework.tcl
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|'\
-e 's|/usr/X11R6|${LOCALBASE}|' \
-e 's|/usr/local/bin/tclsh8.4|${TCLSH}|'\
${WRKSRC}/src/WOKsite/wokinit.csh \
${WRKSRC}/src/OS/WOK.tcl
${REINPLACE_CMD} -e 's|$${TCLBIN}/tclsh|${TCLSH}|' \
${WRKSRC}/src/WOKsite/wok.csh
${REINPLACE_CMD} -e 's|/usr/bin/g++|${CXX}|' \
-e 's|/usr/bin/gcc|${CC}|' \
-e 's|/usr/bin/f77|${F77}|' \
-e 's|/usr/bin/ld|${LD}|' \
-e 's|%%CXXFLAGS%%|${CXXFLAGS}|' \
-e 's|%%CFLAGS%%|${CFLAGS}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-e 's|%%/usr/X11R6%%|${X11LBASE}|' \
-e 's|%%STL_COMPILER%%|${STL_COMPILER}|'\
-e 's|%%TCL_INCDIR%%|${TCL_INCLUDEDIR}|'\
-e 's|%%JAVA_HOME%%|${JAVA_HOME}|' \
${WRKSRC}/src/WOKBuilderDef/CSF.edl \
${WRKSRC}/src/WOKBuilderDef/CMPLRS.edl \
${WRKSRC}/src/WOKBuilderDef/LDEXE.edl \
${WRKSRC}/src/WOKBuilderDef/LDSHR.edl
pre-install:
${MKDIR} ${CASROOT}
.if ${PORT_OPTIONS:MQT}
${REINPLACE_CMD} -e 's|$$qt/include|${QT_INCDIR}|g' ${WRKSRC}/configure.ac
.endif
${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${F_MALLOC:C|^|${WRKSRC}/src/|}
post-install:
${MKDIR} ${CASROOT}/bsd/bin ${OCCROOT}/samples
${LN} -sf ${FBSDBIN:S|^|${PREFIX}/bin/|} ${CASROOT}/bsd/bin
${LN} -sf ${PREFIX}/lib ${CASROOT}/bsd/lib
${LN} -sf ${CASROOT}/bsd ${CASROOT}/${OPSYS}
${INSTALL_DATA} ${PATCH_WRKSRC}/LICENSE ${OCCROOT}
${INSTALL_DATA} ${WRKDIR}/LICENSE.${OPSYS} ${OCCROOT}
@${ECHO_CMD} "To populate this directory, please install the following ports:"\
> ${OCCROOT}/samples/README
@${ECHO_CMD} "- cad/${PORTNAME}-tutorial" >> ${OCCROOT}/samples/README
@${ECHO_CMD} "- cad/${PORTNAME}-samples-qt" >> ${OCCROOT}/samples/README
@${ECHO_CMD} "- cad/${PORTNAME}-samples-java" >> ${OCCROOT}/samples/README
.for di in ${DIR2INST}
cd ${PATCH_WRKSRC} && \
${FIND} ${di} -type d -exec ${MKDIR} ${OCCROOT}/{} \;
cd ${PATCH_WRKSRC} && \
${FIND} ${di} -type f -exec ${INSTALL_DATA} {} ${OCCROOT}/{} \;
.endfor
# ${LN} -sf ${PREFIX}/lib ${OCCROOT}/wok/lib/bsd
cd ${OCCROOT} && \
${FIND} ${DIR2INST} -name "*sh" -exec ${CHMOD} ${BINMODE} {} \;
.for es in env.csh env.ksh
${INSTALL_SCRIPT} ${WRKSRC}/${es} ${CASROOT}
.endfor
${FIND} ${OCCROOT} -name "*.orig" -exec ${RM} {} \;
${FIND} ${CASROOT} -type d -empty -exec ${TOUCH} {}/.keep-me \;
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/OpenCASCADE
${RM} ${OCCROOT}/src/OS/*.orig ${OCCROOT}/src/DrawResources/*.orig
cd ${WRKSRC}/src && ${COPYTREE_SHARE} UnitsAPI ${OCCROOT}/src
.if ${PORT_OPTIONS:MDATA}
${MKDIR} ${DATADIR}
. for dir in data tests
cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}
. endfor
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
.if defined(MAINTAINER_MODE)
regression-test: install
${MKDIR} /tmp/testOCC
bash -c "\
cd ${OCCROOT} && . ${OCCROOT}/env_amk.sh && \
CSF_TestScriptsPath=${DATADIR}/tests \
CSF_TestDataPath=${DATADIR}/data \
DRAWEXE -f ${FILESDIR}/regtest "
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (opencascade-6.3.tar.bz2) = e4c3cb7e47306308dddfb73d6cbc29b79153459fe94e4d75741cf903cc30f48b
SIZE (opencascade-6.3.tar.bz2) = 78534561
SHA256 (OpenCASCADE660.tgz) = e39fa4b2255b9bd9bf97aa122043f4608d97b6b79d922375da53275e42b25d60
SIZE (OpenCASCADE660.tgz) = 119153607

View File

@ -1,2 +0,0 @@
All modifications made to this software by the FreeBSD ports team are available
and dated under %%FILESDIR%%.

View File

@ -0,0 +1,30 @@
--- Makefile.am.orig 2013-03-26 10:31:48.000000000 +0100
+++ Makefile.am 2013-05-11 17:25:23.000000000 +0200
@@ -91,18 +91,15 @@
fi
buildd=`pwd`; cd $(top_srcdir); sourced=`pwd`; cd $(prefix); installd=`pwd`; cd $$buildd; \
if [ "$$installd" != "$$sourced" ]; then \
- $(INSTALL) -d $(prefix)/inc; \
- cp -frL $(top_srcdir)/inc $(prefix); \
- cp -frL $$buildd/config.h $(prefix); \
+ mv $(top_srcdir)/inc $(top_srcdir)/OpenCASCADE; \
+ cp -frL $(top_srcdir)/OpenCASCADE $(prefix)/include/; \
+ mv $(top_srcdir)/OpenCASCADE $(top_srcdir)/inc; \
for d in $(FoundationClasses_DIRS) $(ModelingData_DIRS) $(ModelingAlgorithms_DIRS) $(Visualization_DIRS) $(ApplicationFramework_DIRS) $(DataExchange_DIRS) $(Draw_DIRS); do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -frL $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/$(LOCCROOT)/src/$$d; \
+ cp -frL $(top_srcdir)/src/$$d $(prefix)/$(LOCCROOT)/src; \
done; \
fi
- if [ -e $(prefix)/inc/config.h ]; then \
- rm -f $(prefix)/inc/config.h; \
- fi
- cd $(prefix)/inc && ln -s ../config.h config.h
- cd $(top_srcdir) && cp *amk.sh $(prefix)
+ cp $(top_srcdir)/config.h $(prefix)/include/OpenCASCADE/
+ cd $(top_srcdir) && cp *amk.sh $(prefix)/$(LOCCROOT)/
-.PHONY: FoundationClasses ModelingData ModelingAlgorithms Visualization ApplicationFramework DataExchange Draw
\ No newline at end of file
+.PHONY: FoundationClasses ModelingData ModelingAlgorithms Visualization ApplicationFramework DataExchange Draw

View File

@ -0,0 +1,12 @@
--- configure.ac.orig 2013-04-19 08:49:57.000000000 +0200
+++ configure.ac 2013-05-08 23:20:45.000000000 +0200
@@ -67,8 +67,7 @@
#-----------------------------------------------------------------------------
# dl library is required
#-----------------------------------------------------------------------------
-AC_CHECK_LIB([dl],[dlopen],[],[AC_MSG_ERROR([dl library is required])])
-CSF_SOCKETLibs_LIB=-ldl
+CSF_SOCKETLibs_LIB=
#---------------------------------------------------------------------
#

View File

@ -0,0 +1,18 @@
--- inc/Standard_Time.hxx.orig 2013-04-18 17:20:16.000000000 +0200
+++ inc/Standard_Time.hxx 2013-05-09 14:46:25.000000000 +0200
@@ -34,10 +34,10 @@
// ------------------------------------------------------------------
// IsEqual : Returns Standard_True if two time values are equal
// ------------------------------------------------------------------
-inline Standard_Boolean IsEqual (const Standard_Time theOne,
- const Standard_Time theTwo)
-{
- return theOne == theTwo;
-}
+//inline Standard_Boolean IsEqual (const Standard_Time theOne,
+// const Standard_Time theTwo)
+//{
+// return theOne == theTwo;
+//}
#endif

View File

@ -1,8 +0,0 @@
--- ros/src/Standard/Standard_SStream.cxx~ Wed Mar 21 22:13:14 2007
+++ ros/src/Standard/Standard_SStream.cxx Thu Dec 13 22:16:13 2007
@@ -1,4 +1,5 @@
+#include <string>
#include <Standard_SStream.hxx>
#include <Standard_Type.hxx>

View File

@ -1,18 +0,0 @@
--- ros/inc/LDOM_OSStream.hxx.orig 2007-10-09 16:04:22.000000000 +0200
+++ ros/inc/LDOM_OSStream.hxx 2008-09-30 22:43:53.000000000 +0200
@@ -25,12 +25,12 @@
// and current element of sequence,
// also it has methods for the sequence management.
-#include <Standard_OStream.hxx>
-#include <Standard_Boolean.hxx>
-
#include <stdlib.h>
#include <stdio.h> /* EOF */
+#include <Standard_OStream.hxx>
+#include <Standard_Boolean.hxx>
+
class LDOM_StringElem; // defined in cxx file
class LDOM_SBuffer : public streambuf

View File

@ -1,184 +0,0 @@
--- ros/Makefile.in.orig 2008-09-09 17:52:16.000000000 +0200
+++ ros/Makefile.in 2008-12-22 19:22:52.000000000 +0100
@@ -45,9 +45,6 @@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
@@ -236,19 +233,6 @@
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
-
-$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
- cd $(srcdir) && $(AUTOCONF)
-
-$(ACLOCAL_M4): configure.in acinclude.m4
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.h: stamp-h1
@if test ! -f $@; then \
@@ -660,112 +644,112 @@
if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \
cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
- $(INSTALL) -d $(prefix)/inc; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/inc; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix)/OpenCAS/ros; \
fi; \
if [ "$$pd" != "$$bd" ]; then \
- cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \
+ cp -fr$(CP_$(platform)) $$bd/config.h $(prefix)/OpenCAS/ros; \
fi
- if [ -e $(prefix)/inc/config.h ]; then \
- unlink $(prefix)/inc/config.h; \
+ if [ -e $(prefix)/OpenCAS/ros/inc/config.h ]; then \
+ unlink $(prefix)/OpenCAS/ros/inc/config.h; \
fi
- cd $(prefix)/inc && ln -s ../config.h config.h
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ cd $(prefix)/OpenCAS/ros/inc && ln -s ../config.h config.h
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
- $(INSTALL) -d $(prefix)/src; \
- $(INSTALL) -d $(prefix)/src/UnitsAPI; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \
- cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/UnitsAPI; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/OpenCAS/ros/src; \
+ cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix)/OpenCAS/ros; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(FoundationClasses_DIRS)"; \
if test "x$(FoundationClasses_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(ModelingData_DIRS)"; \
if test "x$(ModelingData_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(ModelingAlgorithms_DIRS)"; \
if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(Visualization_DIRS)"; \
if test "x$(Visualization_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(ApplicationFramework_DIRS)"; \
if test "x$(ApplicationFramework_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(DataExchange_DIRS)"; \
if test "x$(DataExchange_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(Draw_DIRS)"; \
if test "x$(Draw_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(WOK_DIRS)"; \
if test "x$(WOK_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi
- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix)/OpenCAS/ros; pd=`pwd`; cd $$bd; \
if [ "$$pd" != "$$sd" ]; then \
inst_dirs="$(Wrappers_DIRS)"; \
if test "x$(Wrappers_DIRS)" != "x"; then \
for d in $$inst_dirs; do \
- $(INSTALL) -d $(prefix)/src/$$d; \
- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
+ $(INSTALL) -d $(prefix)/OpenCAS/ros/src/$$d; \
+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/OpenCAS/ros/src; \
done; \
fi; \
fi

View File

@ -1,27 +0,0 @@
--- ros/src/OSD/OSD_Environment.cxx.orig Wed Mar 21 22:12:48 2007
+++ ros/src/OSD/OSD_Environment.cxx Thu Dec 13 21:25:36 2007
@@ -1,18 +1,18 @@
#ifndef WNT
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+#include <errno.h>
+
#include <Standard_NullObject.hxx>
#include <Standard_ConstructionError.hxx>
#include <Standard_Failure.hxx>
#include <Standard_Mutex.hxx>
#include <OSD_Environment.ixx>
#include <OSD_WhoAmI.hxx>
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-
-#include <errno.h>
static const OSD_WhoAmI Iam = OSD_WEnvironment;

View File

@ -1,11 +0,0 @@
--- ros/adm/make/DRAWEXE/Makefile.in.orig Thu Mar 22 00:32:41 2007
+++ ros/adm/make/DRAWEXE/Makefile.in Sat Mar 24 10:20:03 2007
@@ -255,7 +255,7 @@
done
DRAWEXE$(EXEEXT): $(DRAWEXE_OBJECTS) $(DRAWEXE_DEPENDENCIES)
@rm -f DRAWEXE$(EXEEXT)
- $(CXXLINK) $(DRAWEXE_LDFLAGS) $(DRAWEXE_OBJECTS) $(DRAWEXE_LDADD) $(LIBS)
+ $(CXXLINK) $(DRAWEXE_LDFLAGS) $(DRAWEXE_OBJECTS) $(DRAWEXE_LDADD) $(LIBS) -pthread
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core

View File

@ -1,24 +0,0 @@
--- ros/adm/make/Makefile.in.orig 2008-09-09 17:52:26.000000000 +0200
+++ ros/adm/make/Makefile.in 2008-10-05 14:51:19.000000000 +0200
@@ -52,9 +52,6 @@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
@@ -250,11 +247,6 @@
all: all-recursive
.SUFFIXES:
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign adm/make/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
mostlyclean-libtool:
-rm -f *.lo

View File

@ -1,11 +0,0 @@
--- ./ros/adm/make/WOKSH/Makefile.in.orig Wed Mar 21 22:14:26 2007
+++ ./ros/adm/make/WOKSH/Makefile.in Sun Mar 25 11:56:25 2007
@@ -91,7 +91,7 @@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -pthread
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@

View File

@ -1,20 +0,0 @@
--- ros/configure.orig 2008-09-09 18:18:13.000000000 +0200
+++ ros/configure 2010-04-05 15:58:11.000000000 +0200
@@ -6556,7 +6556,7 @@
;;
freebsd*)
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ objformat=elf
version_type=freebsd-$objformat
case $version_type in
freebsd-elf*)
@@ -12826,6 +12826,8 @@
Linux*) CXXFLAGS="$CXXFLAGS -DLIN -DLININTEL -D_GNU_SOURCE=1"
CFLAGS="$CFLAGS -DLIN -DLININTEL -fexceptions"
LDFLAGS="$LDFLAGS -lstdc++";;
+ FreeBSD*) CXXFLAGS="$CXXFLAGS -DFREEBSD -D$ARCH -D_GNU_SOURCE=1"
+ CFLAGS="$CFLAGS -DFREEBSD -D$ARCH -fexceptions";;
SunOS*) CXXFLAGS="$CXXFLAGS -Usun -DSOLARIS -instances=static"
CFLAGS="$CFLAGS -Usun -DSOLARIS -instances=static"
LDFLAGS="$LDFLAGS -instances=static";;

View File

@ -1,48 +0,0 @@
--- ./ros/env.csh.orig 2008-09-03 07:44:21.000000000 +0200
+++ ./ros/env.csh 2008-10-01 00:02:45.000000000 +0200
@@ -1,16 +1,18 @@
#!/bin/csh -f
-setenv CASROOT "Open CASCADE location/ros"
+setenv CASROOT %%CASROOT%%
set OS_NAME=`uname`
if ( $?PATH ) then
- setenv PATH $CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin:$PATH
+ setenv PATH %%LOCALBASE%%/bin:$CASROOT/$OS_NAME/bin:$PATH
else
- setenv PATH $CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin
+ setenv PATH %%LOCALBASE%%/bin:$CASROOT/$OS_NAME/bin
endif
-if ( $?LD_LIBRARY_PATH ) then
+if ( $OS_NAME != "FreeBSD" ) then
+ if ( $?LD_LIBRARY_PATH ) then
setenv LD_LIBRARY_PATH $CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib:$LD_LIBRARY_PATH
-else
+ else
setenv LD_LIBRARY_PATH $CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib
+ endif
endif
setenv CSF_MDTVFontDirectory $CASROOT/src/FontMFT
setenv CSF_LANGUAGE us
@@ -30,7 +32,7 @@
setenv CSF_STEPDefaults $CASROOT/src/XSTEPResource
setenv CSF_XmlOcafResource $CASROOT/src/XmlOcafResource
-setenv TCLHOME $CASROOT/../3rdparty/$OS_NAME/tcltk
+setenv TCLHOME %%LOCALBASE%%
setenv TCLLIBPATH $TCLHOME/lib
if ( $OS_NAME == "SunOS" ) then
setenv ITK_LIBRARY $TCLLIBPATH/itk3.2
@@ -38,6 +40,12 @@
setenv TIX_LIBRARY $TCLLIBPATH/tix8.1
setenv TK_LIBRARY $TCLLIBPATH/tk8.4
setenv TCL_LIBRARY $TCLLIBPATH/tcl8.4
+else if ( $OS_NAME == "FreeBSD" ) then
+ setenv ITK_LIBRARY $TCLLIBPATH/itk%%ITKMM%%
+ setenv ITCL_LIBRARY $TCLLIBPATH/itcl%%ITCLMM%%
+ setenv TIX_LIBRARY $TCLLIBPATH/Tix%%TIX_MM%%
+ setenv TK_LIBRARY %%TK_LIBDIR%%
+ setenv TCL_LIBRARY %%TCL_LIBDIR%%
else if ( $OS_NAME == "Linux" ) then
setenv ITK_LIBRARY $TCLLIBPATH/itk3.2
setenv ITCL_LIBRARY $TCLLIBPATH/itcl3.2

View File

@ -1,52 +0,0 @@
--- ./ros/env.ksh.orig 2008-09-03 07:44:51.000000000 +0200
+++ ./ros/env.ksh 2008-10-01 00:01:34.000000000 +0200
@@ -1,17 +1,19 @@
-#!/bin/ksh -f
+#! %%LOCALBASE%%/bin/ksh -f
-export CASROOT="Open CASCADE location/ros"
+export CASROOT="%%CASROOT%%"
OS_NAME=`uname`
if [ -z "PATH" ];
-then PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin;
-else PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin:$PATH;
+then PATH=%%LOCALBASE%%/bin:$CASROOT/$OS_NAME/bin;
+else PATH=%%LOCALBASE%%/bin:$CASROOT/$OS_NAME/bin:$PATH;
fi
export PATH
-if [ -z "LD_LIBRARY_PATH" ];
-then LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib;
-else LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib:$LD_LIBRARY_PATH;
+if [ $OS_NAME != "FreeBSD" ]; then
+ if [ -z "LD_LIBRARY_PATH" ];
+ then LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib;
+ else LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib:$LD_LIBRARY_PATH;
+ fi
+ export LD_LIBRARY_PATH
fi
-export LD_LIBRARY_PATH
export CSF_MDTVFontDirectory=$CASROOT/src/FontMFT
export CSF_LANGUAGE=us
export MMGT_CLEAR=1
@@ -30,7 +32,7 @@
export CSF_STEPDefaults=$CASROOT/src/XSTEPResource
export CSF_XmlOcafResource=$CASROOT/src/XmlOcafResource
-export TCLHOME=$CASROOT/../3rdparty/$OS_NAME/tcltk
+export TCLHOME=%%LOCALBASE%%
export TCLLIBPATH=$TCLHOME/lib
if [ $OS_NAME = "SunOS" ]; then
export ITK_LIBRARY=$TCLLIBPATH/itk3.2
@@ -38,6 +40,12 @@
export TIX_LIBRARY=$TCLLIBPATH/tix8.1
export TK_LIBRARY=$TCLLIBPATH/tk8.4
export TCL_LIBRARY=$TCLLIBPATH/tcl8.4;
+elif [ $OS_NAME = "FreeBSD" ]; then
+ export ITK_LIBRARY=$TCLLIBPATH/itk%%ITKMM%%
+ export ITCL_LIBRARY=$TCLLIBPATH/itcl%%ITCLMM%%
+ export TIX_LIBRARY=$TCLLIBPATH/Tix%%TIX_MM%%
+ export TK_LIBRARY=%%TK_LIBDIR%%
+ export TCL_LIBRARY=%%TCL_LIBDIR%%
elif [ $OS_NAME = "Linux" ]; then
export ITK_LIBRARY=$TCLLIBPATH/itk3.2
export ITCL_LIBRARY=$TCLLIBPATH/itcl3.2

View File

@ -1,8 +0,0 @@
--- ./ros/env_DRAW.sh.orig 2006-07-11 14:51:04.000000000 +0200
+++ ./ros/env_DRAW.sh 2008-12-29 14:38:44.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/ksh -f
+#!/bin/sh -f
OS_NAME=`uname`
if [ -z "PATH" ];

View File

@ -1,14 +0,0 @@
--- ros/src/DrawResources/WOKcomplement.tcl.orig Fri Sep 21 09:50:27 2001
+++ ros/src/DrawResources/WOKcomplement.tcl Tue Aug 1 21:13:53 2006
@@ -6,7 +6,10 @@
set LINE_FROM_UNAME [ exec uname -a ] ;
if { [ regexp SunOS $LINE_FROM_UNAME ] } {
return "sun"
- }
+ }
+ elseif { [ regexp FreeBSD $LINE_FROM_UNAME ] } {
+ return "bsd"
+ }
elseif { [ regexp IRIX $LINE_FROM_UNAME ] } {
return "sil"
}

View File

@ -1,13 +0,0 @@
--- ros/src/IncludeLibrary/IncludeLibrary_stsgrpdef.h.orig Fri Sep 21 09:55:04 2001
+++ ros/src/IncludeLibrary/IncludeLibrary_stsgrpdef.h Thu Aug 10 21:50:09 2006
@@ -103,6 +103,10 @@
#define GRP_OSD GRP_OSD_WNT
#define GRP_NTD GRP_NTD_WNT
+# elif __FreeBSD__
+#define GRP_OSD GRP_OSD_UNX
+#define GRP_NTD GRP_NTD_UNX
+
# elif UNX
#define GRP_OSD GRP_OSD_UNX
#define GRP_NTD GRP_NTD_UNX

View File

@ -1,11 +0,0 @@
--- ./ros/src/OSD/OSD_Timer.cxx.orig 2003-11-17 19:44:23.000000000 +0100
+++ ./ros/src/OSD/OSD_Timer.cxx 2009-02-10 21:58:31.000000000 +0100
@@ -26,6 +26,8 @@
# include <sys/time.h>
#endif
+#include <stdlib.h>
+
static struct timezone *tz=(struct timezone*) malloc(sizeof(struct timezone));
//=======================================================================

View File

@ -1,87 +0,0 @@
--- ros/src/OS/OS.tcl.orig Mon Dec 6 14:30:50 2004
+++ ros/src/OS/OS.tcl Tue Aug 1 08:39:43 2006
@@ -1163,7 +1163,11 @@
SunOS {
set litm [list sun wsn]
}
-
+
+ FreeBSD {
+ set litm [list bsd wfb]
+ }
+
Linux {
set litm [list lin wln]
}
@@ -2308,6 +2312,7 @@
set do_nothing_here [list IRIX AIX HP-UX] ;# ne pas toucher aux .lnk de pop ici
;#puts "plat $plat"
if { "$plat" == "SunOS"} { set OsName "solaris" }
+ if { "$plat" == "FreeBSD"} { set OsName "freebsd" }
if { "$plat" == "Linux"} { set OsName "linux" }
if { "$plat" == "WindowsNT"} {set OsName "win32"}
;#puts [OS:procs $module $plat]
@@ -2480,7 +2485,15 @@
}
if [regexp -- {/cc} $compiler all find] {
set compstring "\${CCOMP} "
- }
+ }
+ }
+ if {$plat == "FreeBSD"} {
+ if [regexp -- {/CC} $compiler all find] {
+ set compstring "\${CXXCOMP} "
+ }
+ if [regexp -- {/cc} $compiler all find] {
+ set compstring "\${CCOMP} "
+ }
}
if {$plat == "Linux"} {
if [regexp -- {/gcc} $compiler all find] {
@@ -2568,6 +2581,11 @@
set compstring "\${CXXCOMP} "
}
}
+ if {$plat == "FreeBSD"} {
+ if [regexp -- {/CC} $compiler all find] {
+ set compstring "\${CXXCOMP} "
+ }
+ }
if {$plat == "Linux"} {
if [regexp -- {/g} $compiler all find] {
set compstring "\${CXXCOMP} "
@@ -2643,6 +2661,11 @@
set compstring "\${CXXCOMP} "
}
}
+ if {$plat == "FreeBSD"} {
+ if [regexp -- {/CC} $compiler all find] {
+ set compstring "\${CXXCOMP} "
+ }
+ }
if {$plat == "Linux"} {
if [regexp -- {/g} $compiler all find] {
set compstring "\${CXXCOMP} "
@@ -3166,6 +3189,8 @@
;#
set A(runtime,Linux) lin
set A(wokadm,Linux) wln ;# au lieu de LIN
+ set A(runtime,FreeBSD) bsd
+ set A(wokadm,FreeBSD) wfb ;# au lieu de FREEBSD
set A(runtime,SunOS) sun
set A(wokadm,SunOS) wsn ;# au lieu de SUN
set A(runtime,IRIX) sil
@@ -3539,10 +3564,12 @@
;#
;# ce qui suit veut dire que:
;# on substitue /adv_11/KAS/C30/ref par TOSUBSTITUTE ET /adv_11/KAS/C30/UpdateC31 par TOSUBSTITUTE etc..
-;# sur la plateforme correspondante.
+;# sur la plate-forme correspondante.
;#
set TOTRIM(wokadm,WindowsNT) nothing,nothing
set TOTRIM(wokadm,SunOS) \
+ /dn01/KAS/dev/roc,TOSUBSTITUTE,/adv_11/KAS/C30/UpdateC31,TOSUBSTITUTE,/adv_10/KAS/C30/UpdateC31,TOSUBSTITUTE
+ set TOTRIM(wokadm,FreeBSD) \
/dn01/KAS/dev/roc,TOSUBSTITUTE,/adv_11/KAS/C30/UpdateC31,TOSUBSTITUTE,/adv_10/KAS/C30/UpdateC31,TOSUBSTITUTE
set TOTRIM(wokadm,IRIX) \
/dn01/KAS/dev/ros,TOSUBSTITUTE,/adv_11/KAS/C30/UpdateC31,TOSUBSTITUTE,/adv_10/KAS/C30/UpdateC31,TOSUBSTITUTE

View File

@ -1,27 +0,0 @@
--- ros/src/OS/WOK.tcl.orig Wed Nov 26 09:36:37 2003
+++ ros/src/OS/WOK.tcl Tue Aug 1 20:59:22 2006
@@ -69,6 +69,13 @@
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
}
+ FreeBSD {
+ lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
+ lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/freebsd"
+ lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
+ lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
+ }
+
SunOS {
lappend l "/usr/openwin/include"
lappend l "/usr/dt/include"
@@ -95,6 +102,10 @@
HP-UX {
}
Linux {
+ lappend l /usr/X11R6/lib
+ }
+
+ FreeBSD {
lappend l /usr/X11R6/lib
}

View File

@ -1,24 +0,0 @@
--- ros/src/OS/Wrappers.tcl.orig Mon Dec 6 14:30:49 2004
+++ ros/src/OS/Wrappers.tcl Tue Aug 1 21:05:53 2006
@@ -48,6 +48,12 @@
lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
}
+ FreeBSD {
+ lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
+ lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/freebsd"
+ lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
+ lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
+ }
SunOS {
lappend l "/usr/openwin/include"
lappend l "/usr/dt/include"
@@ -75,6 +81,8 @@
HP-UX {
}
Linux {
+ }
+ FreeBSD {
}
SunOS {
}

View File

@ -1,16 +0,0 @@
--- ./ros/src/STEPConstruct/STEPConstruct_AP203Context.cxx.orig 2001-09-21 10:00:28.000000000 +0200
+++ ./ros/src/STEPConstruct/STEPConstruct_AP203Context.cxx 2009-02-24 18:59:57.000000000 +0100
@@ -103,6 +103,13 @@
Handle(StepBasic_CoordinatedUniversalTimeOffset) zone =
new StepBasic_CoordinatedUniversalTimeOffset;
+
+ struct tm newtime;
+ time_t ltime;
+ ltime=time(&ltime);
+ localtime_r(&ltime, &newtime);
+ int timezone=newtime.tm_gmtoff;
+
Standard_Integer shift = Standard_Integer(timezone);
Standard_Integer shifth = abs ( shift ) / 3600;
Standard_Integer shiftm = ( abs ( shift ) - shifth * 3600 ) / 60;

View File

@ -1,369 +0,0 @@
--- ros/src/WOKTclLib/config.h.orig Mon Nov 17 19:44:37 2003
+++ ros/src/WOKTclLib/config.h Thu Aug 10 16:28:00 2006
@@ -331,6 +331,366 @@
/* End Linux Part */
+/*-----------------------------------------------------------*/
+/* This part is extracted from config.h generated on FreeBSD */
+/*-----------------------------------------------------------*/
+
+#elif FREEBSD
+
+/* config.h. Generated by configure. */
+/* config.h.in. Generated from configure.in by autoheader. */
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+ systems. This function is required for `alloca.c' support on those systems.
+ */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* define if the compiler allows redefinition of stream input and output */
+/* #undef DEF_IOS_OK */
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+ */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define to 1 if you have the <bits/sigset.h> header file. */
+/* #undef HAVE_BITS_SIGSET_H */
+
+/* Define to 1 if you have the <bstring.h> header file. */
+/* #undef HAVE_BSTRING_H */
+
+/* Define to 1 if you have the <dirent.h> header file. */
+#define HAVE_DIRENT_H 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <dl.h> header file. */
+/* #undef HAVE_DL_H */
+
+/* Define to 1 if you have the <DPS/dpsXclient.h> header file. */
+#define HAVE_DPS_DPSXCLIENT_H 1
+
+/* Define if we have a function called "finite" in -lm. */
+#define HAVE_FINITE
+
+/* Define to 1 if you have the <floatingpoint.h> header file. */
+#define HAVE_FLOATINGPOINT_H 1
+
+/* Define to 1 if you have the <float.h> header file. */
+#define HAVE_FLOAT_H 1
+
+/* Define to 1 if you have the <fstream> header file. */
+#define HAVE_FSTREAM 1
+
+/* Define to 1 if you have the <fstream.h> header file. */
+#define HAVE_FSTREAM_H 1
+
+/* Define to 1 if you have the `gethostname' function. */
+#define HAVE_GETHOSTNAME 1
+
+/* Define to 1 if you have the <getopt.h> header file. */
+#define HAVE_GETOPT_H 1
+
+/* Define to 1 if you have the <ieeefp.h> header file. */
+#define HAVE_IEEEFP_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <iomanip> header file. */
+#define HAVE_IOMANIP 1
+
+/* Define to 1 if you have the <iomanip.h> header file. */
+#define HAVE_IOMANIP_H 1
+
+/* Define to 1 if you have the <ios> header file. */
+#define HAVE_IOS 1
+
+/* Define to 1 if you have the <iostream> header file. */
+#define HAVE_IOSTREAM 1
+
+/* Define to 1 if you have the <iostream.h> header file. */
+#define HAVE_IOSTREAM_H 1
+
+/* Define to 1 if you have the <ios.h> header file. */
+/* #undef HAVE_IOS_H */
+
+/* Define to 1 if you have the <istream> header file. */
+#define HAVE_ISTREAM 1
+
+/* Define to 1 if you have the <istream.h> header file. */
+#define HAVE_ISTREAM_H 1
+
+/* Define to 1 if you have the <libc.h> header file. */
+/* #undef HAVE_LIBC_H */
+
+/* Define to 1 if you have the `e' library (-le). */
+/* #undef HAVE_LIBE */
+
+/* Define to 1 if you have the `inks' library (-links). */
+/* #undef HAVE_LIBINKS */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if we have a function called "mallinfo" in -lmalloc. */
+/* #undef HAVE_MALLINFO */
+
+/* Define to 1 if you have the <malloc.h> header file. */
+/* #undef HAVE_MALLOC_H */
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <ndir.h> header file. */
+/* #undef HAVE_NDIR_H */
+
+/* Define to 1 if you have the <netdb.h> header file. */
+#define HAVE_NETDB_H 1
+
+/* Define to 1 if you have the <net/if.h> header file. */
+#define HAVE_NET_IF_H 1
+
+/* Define to 1 if you have the <osfcn.h> header file. */
+/* #undef HAVE_OSFCN_H */
+
+/* Define to 1 if you have the <ostream> header file. */
+#define HAVE_OSTREAM 1
+
+/* Define to 1 if you have the <ostream.h> header file. */
+#define HAVE_OSTREAM_H 1
+
+/* Define to 1 if you have the `putenv' function. */
+/* #undef HAVE_PUTENV */
+
+/* Define to 1 if you have the <pwd.h> header file. */
+#define HAVE_PWD_H 1
+
+/* Define to 1 if you have the `regcomp' function. */
+#define HAVE_REGCOMP 1
+
+/* Define to 1 if you have the `re_comp' function. */
+/* #undef HAVE_RE_COMP */
+
+/* Define to 1 if you have the <sigfpe.h> header file. */
+/* #undef HAVE_SIGFPE_H */
+
+/* Define to 1 if you have the <siginfo.h> header file. */
+/* #undef HAVE_SIGINFO_H */
+
+/* Define to 1 if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define to 1 if you have the `statfs' function. */
+#define HAVE_STATFS 1
+
+/* Define to 1 if you have the `statvfs' function. */
+#define HAVE_STATVFS 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `strcspn' function. */
+#define HAVE_STRCSPN 1
+
+/* Define to 1 if you have the `strdup' function. */
+#define HAVE_STRDUP 1
+
+/* Define to 1 if you have the <stream.h> header file. */
+#define HAVE_STREAM_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <strstream.h> header file. */
+/* #undef HAVE_STRSTREAM_H */
+
+/* Define to 1 if you have the `strtol' function. */
+/* #undef HAVE_STRTOL */
+
+/* Define if we have a function called "ieee_handler" in -lsunmath. */
+/* #undef HAVE_SUNMATH */
+
+/* Define to 1 if you have the <sysent.h> header file. */
+/* #undef HAVE_SYSENT_H */
+
+/* Define to 1 if you have the <sys/dir.h> header file. */
+#define HAVE_SYS_DIR_H 1
+
+/* Define to 1 if you have the <sys/filio.h> header file. */
+#define HAVE_SYS_FILIO_H 1
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define to 1 if you have the <sys/ipc.h> header file. */
+#define HAVE_SYS_IPC_H 1
+
+/* Define to 1 if you have the <sys/machsig.h> header file. */
+/* #undef HAVE_SYS_MACHSIG_H */
+
+/* Define to 1 if you have the <sys/mman.h> header file. */
+#define HAVE_SYS_MMAN_H 1
+
+/* Define to 1 if you have the <sys/ndir.h> header file. */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define to 1 if you have the <sys/sem.h> header file. */
+#define HAVE_SYS_SEM_H 1
+
+/* Define to 1 if you have the <sys/siginfo.h> header file. */
+/* #undef HAVE_SYS_SIGINFO_H */
+
+/* Define to 1 if you have the <sys/signal.h> header file. */
+#define HAVE_SYS_SIGNAL_H 1
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define to 1 if you have the <sys/statvfs.h> header file. */
+#define HAVE_SYS_STATVFS_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/systeminfo.h> header file. */
+/* #undef HAVE_SYS_SYSTEMINFO_H */
+
+/* Define to 1 if you have the <sys/times.h> header file. */
+#define HAVE_SYS_TIMES_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <sys/unistd.h> header file. */
+#define HAVE_SYS_UNISTD_H 1
+
+/* Define to 1 if you have the <sys/utsname.h> header file. */
+#define HAVE_SYS_UTSNAME_H 1
+
+/* Define to 1 if you have the <sys/vfs.h> header file. */
+/* #undef HAVE_SYS_VFS_H */
+
+/* Define to 1 if you have the <sys/vnode.h> header file. */
+#define HAVE_SYS_VNODE_H 1
+
+/* Define to 1 if you have the <time.h> header file. */
+#define HAVE_TIME_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Define to 1 if you have the <X11/extensions/multibuf.h> header file. */
+#define HAVE_X11_EXTENSIONS_MULTIBUF_H 1
+
+/* Define to 1 if you have the <X11/extensions/readdisplay.h> header file. */
+/* #undef HAVE_X11_EXTENSIONS_READDISPLAY_H */
+
+/* Define to 1 if you have the <X11/extensions/transovl.h> header file. */
+/* #undef HAVE_X11_EXTENSIONS_TRANSOVL_H */
+
+/* Define to 1 if you have the <Xmu/Editres.h> header file. */
+#define HAVE_XMU_EDITRES_H 1
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+/* #undef NO_MINUS_C_MINUS_O */
+
+/* define if the class ostream has member function form */
+/* #undef OSTREAM_FORM_OK */
+
+/* Name of package */
+#define PACKAGE "OpenCAS"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME ""
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING ""
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION ""
+
+/* Define if compiler has function prototypes */
+#define PROTOTYPES 1
+
+/* Define as the return type of signal handlers (`int' or `void'). */
+#define RETSIGTYPE void
+
+/* define if the function semctl takes a value */
+/* #undef SEMCTL_NO_REFERENCE */
+
+/* define if the function semop takes a value */
+/* #undef SEMOP_NO_REFERENCE */
+
+/* define if semun has member __buf */
+/* #undef SEMUN_BUF_DEFINED */
+
+/* define if the union semun is in sys/sem.h */
+#define SEMUN_DEFINED
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown */
+/* #undef STACK_DIRECTION */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define to 1 if your <sys/time.h> declares `struct tm'. */
+/* #undef TM_IN_SYS_TIME */
+
+/* Version number of package */
+#define VERSION "5.0DVP1"
+
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+/* #undef WORDS_BIGENDIAN */
+
+/* Define to 1 if on AIX 3.
+ System headers sometimes define this.
+ We just want to avoid a redefinition error message. */
+#ifndef _ALL_SOURCE
+/* # undef _ALL_SOURCE */
+#endif
+
+/* Define to `unsigned' if <sys/types.h> does not define. */
+/* #undef size_t */
+
+/* End FreeBSD Part */
+
/*---------------------------------------------------------*/
/* This part is extracted from config.h generated on SOLARIS */
/*---------------------------------------------------------*/

View File

@ -1,11 +0,0 @@
--- ros/src/WOKTclLib/wutils.tcl.orig Fri Sep 21 10:08:43 2001
+++ ros/src/WOKTclLib/wutils.tcl Thu Aug 10 17:20:24 2006
@@ -1770,7 +1770,7 @@
}
command {
- set fid [open "| /usr/lib/sendmail -oi -t" "w"]
+ set fid [open "| /usr/sbin/sendmail -oi -t" "w"]
puts $fid "To: $to"
if {[string length $from] > 0} {
puts $fid "From: $from"

View File

@ -1,11 +0,0 @@
--- 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

View File

@ -1,13 +0,0 @@
--- ros/src/jcas/jcas_CMPLRS.edl.orig Fri Jan 28 20:30:11 2005
+++ ros/src/jcas/jcas_CMPLRS.edl Thu Aug 10 23:20:02 2006
@@ -6,6 +6,10 @@
@string %CMPLRS_CXX_Options += " -I" %CSF_JavaHome "/include/solaris";
@endif;
+@if ( %Station == "bsd" ) then
+ @string %CMPLRS_CXX_Options += " -I" %CSF_JavaHome "/include/freebsd";
+@endif;
+
@if ( %Station == "lin" ) then
@string %CMPLRS_CXX_Options += " -I" %CSF_JavaHome "/include/linux";
@endif;

View File

@ -1,5 +1,5 @@
--- ros/src/DrawResources/InitEnvironment.tcl.orig Fri Sep 21 09:50:26 2001
+++ ros/src/DrawResources/InitEnvironment.tcl Thu Aug 10 22:58:39 2006
--- src/DrawResources/InitEnvironment.tcl.orig Fri Sep 21 09:50:26 2001
+++ src/DrawResources/InitEnvironment.tcl Thu Aug 10 22:58:39 2006
@@ -7,6 +7,8 @@
set LINE_FROM_UNAME [ exec uname -a ] ;
if { [ regexp SunOS $LINE_FROM_UNAME ] } {

View File

@ -1,5 +1,5 @@
--- ros/src/OS/ApplicationFramework.tcl.orig Thu Sep 22 19:55:08 2005
+++ ros/src/OS/ApplicationFramework.tcl Thu Aug 10 22:46:41 2006
--- src/OS/ApplicationFramework.tcl.orig Thu Sep 22 19:55:08 2005
+++ src/OS/ApplicationFramework.tcl Thu Aug 10 22:46:41 2006
@@ -68,6 +68,12 @@
lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"

View File

@ -1,5 +1,5 @@
--- ros/src/OS/DataExchange.tcl.orig Mon Jul 25 08:47:10 2005
+++ ros/src/OS/DataExchange.tcl Tue Aug 1 21:03:42 2006
--- src/OS/DataExchange.tcl.orig Mon Jul 25 08:47:10 2005
+++ src/OS/DataExchange.tcl Tue Aug 1 21:03:42 2006
@@ -59,6 +59,12 @@
lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"

View File

@ -1,5 +1,5 @@
--- ros/src/OS/Draw.tcl.orig Wed Nov 26 09:30:49 2003
+++ ros/src/OS/Draw.tcl Thu Aug 10 22:08:37 2006
--- src/OS/Draw.tcl.orig Wed Nov 26 09:30:49 2003
+++ src/OS/Draw.tcl Thu Aug 10 22:08:37 2006
@@ -50,6 +50,13 @@
lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"

View File

@ -1,5 +1,5 @@
--- ros/src/OS/FoundationClasses.tcl.orig Thu Jun 30 11:18:06 2005
+++ ros/src/OS/FoundationClasses.tcl Thu Aug 10 22:14:31 2006
--- src/OS/FoundationClasses.tcl.orig Thu Jun 30 11:18:06 2005
+++ src/OS/FoundationClasses.tcl Thu Aug 10 22:14:31 2006
@@ -44,7 +44,13 @@
}
Linux {

View File

@ -1,5 +1,5 @@
--- ros/src/OS/ModelingAlgorithms.tcl.orig Thu Jun 30 11:18:06 2005
+++ ros/src/OS/ModelingAlgorithms.tcl Thu Aug 10 22:18:25 2006
--- src/OS/ModelingAlgorithms.tcl.orig Thu Jun 30 11:18:06 2005
+++ src/OS/ModelingAlgorithms.tcl Thu Aug 10 22:18:25 2006
@@ -45,10 +45,16 @@
HP-UX {
}

View File

@ -1,5 +1,5 @@
--- ros/src/OS/ModelingData.tcl.orig Wed Nov 26 09:36:01 2003
+++ ros/src/OS/ModelingData.tcl Thu Aug 10 22:21:03 2006
--- src/OS/ModelingData.tcl.orig Wed Nov 26 09:36:01 2003
+++ src/OS/ModelingData.tcl Thu Aug 10 22:21:03 2006
@@ -43,6 +43,12 @@
lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"

View File

@ -1,5 +1,5 @@
--- ros/src/OS/Visualization.tcl.orig Fri Jun 25 19:07:24 2004
+++ ros/src/OS/Visualization.tcl Thu Aug 10 22:42:55 2006
--- src/OS/Visualization.tcl.orig Fri Jun 25 19:07:24 2004
+++ src/OS/Visualization.tcl Thu Aug 10 22:42:55 2006
@@ -47,6 +47,12 @@
lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"

View File

@ -0,0 +1,11 @@
--- src/STEPConstruct/STEPConstruct_AP203Context.cxx.orig 2012-02-16 07:33:16.000000000 +0100
+++ src/STEPConstruct/STEPConstruct_AP203Context.cxx 2012-02-16 07:33:39.000000000 +0100
@@ -103,7 +103,7 @@
Handle(StepBasic_CoordinatedUniversalTimeOffset) zone =
new StepBasic_CoordinatedUniversalTimeOffset;
- Standard_Integer shift = Standard_Integer(timezone);
+ Standard_Integer shift = Standard_Integer((long long)timezone);
Standard_Integer shifth = abs ( shift ) / 3600;
Standard_Integer shiftm = ( abs ( shift ) - shifth * 3600 ) / 60;
StepBasic_AheadOrBehind sense = ( shift >0 ? StepBasic_aobBehind :

View File

@ -0,0 +1,12 @@
--- src/Standard/Standard_MMgrTBBalloc.cxx.orig 2012-11-12 11:47:26.000000000 +0100
+++ src/Standard/Standard_MMgrTBBalloc.cxx 2013-03-27 10:59:09.000000000 +0100
@@ -28,6 +28,9 @@
// paralleling with Intel TBB
#ifdef HAVE_TBB
+#ifdef VERSION
+#undef VERSION
+#endif
#include <tbb/scalable_allocator.h>
using namespace tbb;
#else

View File

@ -1,21 +0,0 @@
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
License warning: in short, Open CASCADE Technology Public License is LGPL-like
with certain differences. You are permitted to use Open CASCADE Technology
within commercial environments and you are obliged to acknowledge its use.
You are also obliged to send your modifications of the original source code (if
you have made any) to the Initial Developer (i.e. Open CASCADE S.A.S.).
Open CASCADE has been installed under %%OCCROOT%%
and CASROOT must be set to %%OCCROOT%%/ros.
You should then install the following ports:
- cad/%%PORTNAME%%-tutorial
- cad/%%PORTNAME%%-samples-qt
- cad/%%PORTNAME%%-samples-java
To get started, please read the documentation:
file://%%OCCROOT%%/doc/Overview/index.htm
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

View File

@ -0,0 +1,4 @@
pload ALL
testgrid -outdir /tmp/testOCC
exit

File diff suppressed because it is too large Load Diff