fix cgal build

This commit is contained in:
Qianqian Fang 2020-09-04 23:17:35 -04:00
parent 8d39cedd19
commit bf9dc6af3c
1 changed files with 7 additions and 0 deletions

View File

@ -268,6 +268,10 @@ sed -e "s|^\(CXXFLAGS = \).*|\1%{optflags} $RPM_LD_FLAGS|" \
-e "s|-O0|%{optflags} $RPM_LD_FLAGS|" \
-i tools/tetgen/makefile
# Fix cgal 5.1 build error
sed -e "s/Midpoint_and_length/Midpoint_placement/g" \
-i tools/cgalsimp2/edge_collapse_enriched_polyhedron.cpp
%build
%set_build_flags
pushd tools
@ -327,6 +331,9 @@ install -m 0755 -vp bin/* %{buildroot}%{_libexecdir}/%{octpkg}/
%doc sample
%changelog
* Fri Sep 04 2020 Qianqian Fang <fangqq@gmail.com> - 1.9.1-8
- Fix cgal build error on F33
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-7
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild