File fix-libharu-missing-m.patch of Package paraview

Index: ParaView-v5.7.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
===================================================================
--- ParaView-v5.7.0.orig/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
+++ ParaView-v5.7.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
@@ -125,6 +125,8 @@ if(PNG_FOUND)
 endif(PNG_FOUND)
 endif ()
 
+link_libraries(m dl pthread)
+
 # =======================================================================
 # configure header files, add compiler flags
 # =======================================================================
openSUSE Build Service is sponsored by