Hello community, here is the log from the commit of package vtk for openSUSE:Factory checked in at 2014-09-12 10:03:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vtk (Old) and /work/SRC/openSUSE:Factory/.vtk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vtk" Changes: -------- --- /work/SRC/openSUSE:Factory/vtk/vtk.changes 2014-03-04 14:00:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2014-09-12 10:03:52.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Sep 11 01:52:56 UTC 2014 - badshah...@gmail.com + +- Add vtk-Mesa10.3-build-failures.patch to workaround build + failures when compiling against Mesa >= 10.3; patch taken from + upstream git and rebased; applied only for openSUSE >= 13.2. + +------------------------------------------------------------------- New: ---- vtk-Mesa10.3-build-failures.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vtk.spec ++++++ --- /var/tmp/diff_new_pack.vK9qmh/_old 2014-09-12 10:03:53.000000000 +0200 +++ /var/tmp/diff_new_pack.vK9qmh/_new 2014-09-12 10:03:53.000000000 +0200 @@ -34,6 +34,8 @@ Patch1: vtk-fix-file-contains-date-time.patch # PATCH-FIX-UPSTREAM vtk-install-missing-modules.patch badshah...@gmail.com -- Install some cmake modules missed in upstream packaging (will be required if in future we can get paraview to use system installed vtk) Patch2: vtk-install-missing-modules.patch +# PATCH-FIX-UPSTREAM vtk-Mesa10.3-build-failures.patch badshah...@gmail.com -- Actually define GLX_GLXEXT_LEGACY to prevent the system glext.h include; fixes buld failures with Mesa >= 10.3; fix taken from upstream git and rebased +Patch3: vtk-Mesa10.3-build-failures.patch BuildRequires: Mesa-libGL-devel BuildRequires: R-base-devel BuildRequires: boost-devel @@ -224,6 +226,9 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%if 0%{?suse_version} > 1310 +%patch3 -p1 +%endif # Replace relative path ../../../VTKData with %%{_datadir}/%%{name}data-%%{version} # otherwise it will break on symlinks. ++++++ vtk-Mesa10.3-build-failures.patch ++++++ Index: VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx =================================================================== --- VTK-6.1.0.orig/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx +++ VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx @@ -27,7 +27,7 @@ // define GLX_GLXEXT_LEGACY to prevent glx.h to include glxext.h provided by // the system -//#define GLX_GLXEXT_LEGACY +#define GLX_GLXEXT_LEGACY #include "GL/glx.h" #include "vtkgl.h" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org