Author: hobbes1069
Update of /cvs/nonfree/rpms/freecad/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29636
Modified Files:
freecad.spec
Added Files:
freecad-0.13-OCE_0.13.patch
Log Message:
* Thu Oct 10 2013 Richard Shaw <hobbes1069(a)gmail.com> - 0.13-4
- Rebuild for OCE 0.13.
freecad-0.13-OCE_0.13.patch:
TopoShapeSolidPyImp.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- NEW FILE freecad-0.13-OCE_0.13.patch ---
diff -Naur freecad-0.13.1830.orig/src/Mod/Part/App/TopoShapeSolidPyImp.cpp
freecad-0.13.1830/src/Mod/Part/App/TopoShapeSolidPyImp.cpp
--- freecad-0.13.1830.orig/src/Mod/Part/App/TopoShapeSolidPyImp.cpp 2013-02-02
11:09:17.000000000 -0600
+++ freecad-0.13.1830/src/Mod/Part/App/TopoShapeSolidPyImp.cpp 2013-09-23
09:33:05.009740932 -0500
@@ -25,6 +25,7 @@
#include <BRepGProp.hxx>
#include <BRepTools.hxx>
+#include <BRepClass3d.hxx>
#include <GProp_GProps.hxx>
#include <GProp_PrincipalProps.hxx>
#include <BRepBuilderAPI_MakeSolid.hxx>
@@ -178,7 +179,7 @@
TopoDS_Shell shell;
const TopoDS_Shape& shape = getTopoShapePtr()->_Shape;
if (!shape.IsNull() && shape.ShapeType() == TopAbs_SOLID)
- shell = BRepTools::OuterShell(TopoDS::Solid(shape));
+ shell = BRepClass3d::OuterShell(TopoDS::Solid(shape));
return Py::Object(new TopoShapeShellPy(new TopoShape(shell)),true);
}
Index: freecad.spec
===================================================================
RCS file: /cvs/nonfree/rpms/freecad/devel/freecad.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- freecad.spec 15 Jul 2013 17:36:56 -0000 1.7
+++ freecad.spec 10 Oct 2013 18:04:56 -0000 1.8
@@ -42,6 +42,7 @@
Patch0: freecad-3rdParty.patch
Patch1: freecad-0.13-pycxx.patch
+Patch2: freecad-0.13-OCE_0.13.patch
# Utilities
@@ -140,6 +141,7 @@
%patch1 -p1 -b .pycxx
rm -rf src/CXX
%endif
+%patch2 -p1 -b .port_oce
%if ! %{bundled_zipios}
rm -rf src/zipios++
@@ -281,6 +283,9 @@
%changelog
+* Thu Oct 10 2013 Richard Shaw <hobbes1069(a)gmail.com> - 0.13-4
+- Rebuild for OCE 0.13.
+
* Mon Jul 15 2013 Richard Shaw <hobbes1069(a)gmail.com> - 0.13-3
- Rebuild for updated OCE.
Show replies by date