[packages/Field3D] - rel 13, make it build with hdf5 1.14.5 and boost 1.85

baggins baggins at pld-linux.org
Fri Dec 27 19:44:41 CET 2024


commit 7afc04866802079e8a123fb9a5899359a7f65759
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 27 20:26:02 2024 +0100

    - rel 13, make it build with hdf5 1.14.5 and boost 1.85

 Field3D.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Field3D.spec b/Field3D.spec
index b56b211..2128a25 100644
--- a/Field3D.spec
+++ b/Field3D.spec
@@ -3,7 +3,7 @@ Summary:	Field3D - open source library for storing voxel data
 Summary(pl.UTF-8):	Field3D - mająca otwarte źródła biblioteka do przechowywania danych vokseli
 Name:		Field3D
 Version:	1.7.3
-Release:	12
+Release:	13
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/imageworks/Field3D/releases
@@ -12,8 +12,8 @@ Source0:	https://github.com/imageworks/Field3D/archive/v%{version}/%{name}-%{ver
 Patch0:		openexr3.patch
 URL:		http://opensource.imageworks.com/?p=field3d
 BuildRequires:	OpenEXR-devel >= 3.0.0
-BuildRequires:	cmake >= 2.8
 BuildRequires:	boost-devel >= 1.34.0
+BuildRequires:	cmake >= 2.8
 BuildRequires:	doxygen
 BuildRequires:	hdf5-devel >= 1.8
 BuildRequires:	libstdc++-devel
@@ -63,13 +63,13 @@ Dokumentacja API biblioteki Field3D.
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -P 0 -p1
 
 %build
 # main build system is scons, but there is cmake alternative, which is slightly more usable in rpm building
 install -d build
 cd build
-export CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -std=c++14"
+export CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -DH5_USE_110_API -DBOOST_TIMER_ENABLE_DEPRECATED -std=c++14"
 %cmake ..
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Field3D.git/commitdiff/7afc04866802079e8a123fb9a5899359a7f65759



More information about the pld-cvs-commit mailing list