paraview/fix-libharu-missing-m.patch
Vicente Adolfo Bolea Sanchez 8ffb58de9e - Various spec file cleanups and fixes:
* Fix version dependent bcond's for TW
  * Remove unused netcdf-cxx build dependency
  * Remove unnecessary sqlite and wget binary build dependencies
  * Use system libharu, fast-float and fmt when available
- Fix build with recent fmt, add
  * 0001-Fix-missing-fmt-ranges.h-include-in-ioss-ThirdParty-.patch

OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=132
2025-01-07 02:12:08 +00:00

14 lines
585 B
Diff

Index: ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
===================================================================
--- ParaView-v5.11.0.orig/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
+++ ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
@@ -68,6 +68,8 @@ find_package(PNG)
find_library(M_LIB m)
endif ()
+link_libraries(m dl pthread)
+
# =======================================================================
# configure header files, add compiler flags
# =======================================================================