Author: hobbes1069
Update of /cvs/nonfree/rpms/smesh/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv30773
Modified Files:
smesh.spec
Added Files:
smesh-OCE_0.13_port.patch
Log Message:
* Thu Oct 10 2013 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-8.svn55
- Rebuild for OCE-0.13.
smesh-OCE_0.13_port.patch:
StdMeshers_RadialPrism_3D.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- NEW FILE smesh-OCE_0.13_port.patch ---
diff -Naur smesh-5.1.2.2.svn55.orig/src/StdMeshers/StdMeshers_RadialPrism_3D.cpp
smesh-5.1.2.2.svn55/src/StdMeshers/StdMeshers_RadialPrism_3D.cpp
--- smesh-5.1.2.2.svn55.orig/src/StdMeshers/StdMeshers_RadialPrism_3D.cpp 2009-12-16
09:01:21.000000000 -0600
+++ smesh-5.1.2.2.svn55/src/StdMeshers/StdMeshers_RadialPrism_3D.cpp 2013-09-22
21:30:43.995137618 -0500
@@ -46,6 +46,7 @@
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepTools.hxx>
#include <BRep_Tool.hxx>
+#include <BRepClass3d.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Shell.hxx>
@@ -161,7 +163,7 @@
// get 2 shells
TopoDS_Solid solid = TopoDS::Solid( aShape );
- TopoDS_Shell outerShell = BRepTools::OuterShell( solid );
+ TopoDS_Shell outerShell = BRepClass3d::OuterShell( solid );
TopoDS_Shape innerShell;
int nbShells = 0;
for ( TopoDS_Iterator It (solid); It.More(); It.Next(), ++nbShells )
@@ -401,7 +403,7 @@
{
// get 2 shells
TopoDS_Solid solid = TopoDS::Solid( aShape );
- TopoDS_Shell outerShell = BRepTools::OuterShell( solid );
+ TopoDS_Shell outerShell = BRepClass3d::OuterShell( solid );
TopoDS_Shape innerShell;
int nbShells = 0;
for ( TopoDS_Iterator It (solid); It.More(); It.Next(), ++nbShells )
Index: smesh.spec
===================================================================
RCS file: /cvs/nonfree/rpms/smesh/devel/smesh.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- smesh.spec 15 Jul 2013 17:42:41 -0000 1.8
+++ smesh.spec 10 Oct 2013 18:13:33 -0000 1.9
@@ -7,7 +7,7 @@
Name: smesh
Version: 5.1.2.2
-Release: 7.svn%{svnrev}%{?dist}
+Release: 8.svn%{svnrev}%{?dist}
Summary: OpenCascade based MESH framework
# This library is LGPLv2+ but links against the non-free library OCE.
@@ -24,6 +24,8 @@
Patch1: smesh-cmake_fixes.patch
Patch2: smesh-5.1.2.2-rm_f2c.patch
Patch3: smesh-5.1.2.2-pi_to_m_pi.patch
+#
http://tracker.dev.opencascade.org/view.php?id=23487
+Patch4: smesh-OCE_0.13_port.patch
%if 0%{?rhel}
BuildRequires: cmake28
@@ -69,6 +71,7 @@
%patch1 -p1 -b .cmakefix
%patch2 -p1 -b .f2c
%patch3 -p1 -b .pi
+%patch4 -p1 -b .oce-0.13
dos2unix -k LICENCE.lgpl.txt
@@ -112,9 +115,15 @@
%changelog
+* Thu Oct 10 2013 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-8.svn55
+- Rebuild for OCE-0.13.
+
* Mon Jul 15 2013 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-7.svn55
- Rebuild for updated OCE.
+* Fri Jun 21 2013 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-6.svn55
+- Rebuild for OCE 0.12.
+
* Fri Feb 15 2013 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-1.svn55
- Update for compatibility with new OCE.