From 76a176ba178d72440fb6504bcf89f5129a7808ed Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 28 Aug 2013 00:15:15 +1000 Subject: package vtk6: reverse standalone patch for cross build --- src/vtk6.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vtk6.mk b/src/vtk6.mk index 3776934..9100ec7 100644 --- a/src/vtk6.mk +++ b/src/vtk6.mk @@ -33,6 +33,9 @@ define $(PKG)_BUILD # DirectX is detected on Mac OSX but we use OpenGL $(SED) -i 's,d3d9,nod3d9,g' '$(1)/CMake/FindDirectX.cmake' + # reverse the fix-standalone patch as it upsets the cross build + cd '$(1)' && patch -p1 -u -R < '$(PWD)/src/vtk6-3-fix-standalone.patch' + # now the cross compilation mkdir '$(1).cross_build' cd '$(1).cross_build' && cmake \ -- cgit v0.12