SHA256
1
0
forked from pool/paraview
paraview/fix-libharu-missing-m.patch
Vicente Adolfo Bolea Sanchez 3a71f256d1 Accepting request 1039344 from home:badshah400:branches:science
- Update to version 5.11.0:
- Drop paraview-include-sstream.patch: incorporated upstream.
- New BuildRequires: sqlite3, pkgconfig(liblzma), pkgconfig(nlohmann_json), pkgconfig(proj), pkgconfig(sqlite3).
- Build without system nlohmann_json for Leap 15.3 and older.
- Update rpmlintrc file to suppress false positives.

OBS-URL: https://build.opensuse.org/request/show/1039344
OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=110
2022-12-01 17:11:19 +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
# =======================================================================