Fixed compilation with boost 1.53
This commit is contained in:
parent
eddb2ffb53
commit
4cf14075b6
|
@ -1,6 +1,6 @@
|
|||
Name: simspark
|
||||
Version: 0.2.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Spark physical simulation system
|
||||
|
||||
Group: Development/Libraries
|
||||
|
@ -35,6 +35,9 @@ developing applications that use %{name}.
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .mlibfix
|
||||
# Applied upstream
|
||||
find -name "*.cpp" -o -name "*.h" -exec sed -i .boostfix "s|shared_dynamic_cast|dynamic_pointer_cast|g" {} \;
|
||||
find -name "*.cpp" -o -name "*.h" -exec sed -i .boostfix "s|shared_static_cast|static_pointer_cast|g" {} \;
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
|
@ -74,6 +77,9 @@ rm -rf %{buildroot}/%{_datadir}/doc
|
|||
%doc doc/devel/howtos doc/devel/manual.pdf
|
||||
|
||||
%changelog
|
||||
* Tue Feb 12 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.3-5
|
||||
- Fixed compilation with boost 1.53
|
||||
|
||||
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.2.3-4
|
||||
- Rebuild for Boost-1.53.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue