[openvrml] Patch for boost-1.44.0.

Braden McDaniel braden at fedoraproject.org
Sat Jul 31 15:05:31 UTC 2010


commit 0d321ae69da05f0b96085d9ad67ff12f6a6ee1b0
Author: braden <braden at endoframe.com>
Date:   Sat Jul 31 11:05:27 2010 -0400

    Patch for boost-1.44.0.

 boost-1.44.patch |   13 +++++++++++++
 openvrml.spec    |    9 +++++++--
 2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/boost-1.44.patch b/boost-1.44.patch
new file mode 100644
index 0000000..8a44e98
--- /dev/null
+++ b/boost-1.44.patch
@@ -0,0 +1,13 @@
+Index: src/libopenvrml/openvrml/vrml97_grammar.h
+===================================================================
+--- src/libopenvrml/openvrml/vrml97_grammar.h	(revision 4164)
++++ src/libopenvrml/openvrml/vrml97_grammar.h	(working copy)
+@@ -423,7 +423,7 @@
+             bool operator()() const
+             {
+                 using boost::test_tools::check_is_close;
+-                using boost::test_tools::percent_tolerance;
++                using boost::math::fpc::percent_tolerance;
+                 const float length = sqrt(this->x_ * this->x_
+                                           + this->y_ * this->y_
+                                           + this->z_ * this->z_);
diff --git a/openvrml.spec b/openvrml.spec
index 219481d..cc4327f 100644
--- a/openvrml.spec
+++ b/openvrml.spec
@@ -1,11 +1,12 @@
 # -*- rpm-spec -*-
 Name:           openvrml
 Version:        0.18.6
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        VRML/X3D player and runtime library
 License:        LGPLv3+
 Group:          System Environment/Libraries
 Source:         http://downloads.sourceforge.net/project/openvrml/%{name}/%{version}/%{name}-%{version}.tar.gz
+Patch0:         boost-1.44.patch
 URL:            http://openvrml.org
 BuildRequires:  pkgconfig >= 0.18.0
 BuildRequires:  libtool-ltdl-devel
@@ -135,10 +136,11 @@ OpenVRML API documentation.
 
 %prep
 %setup
+%patch0 -p0
 
 %build
 CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden -Wno-missing-braces -Wno-strict-aliasing -Wno-unused-variable"
-%configure --disable-static --enable-exception-specs=nothrow --disable-examples CPPFLAGS="-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -DNDEBUG" JAVA_HOME=/usr/lib/jvm/jre
+%configure --disable-static --enable-exception-specs=nothrow --disable-examples CPPFLAGS="-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -DNDEBUG" JAVA_HOME=/usr/lib/jvm/jre BOOST_LIB_SUFFIX=
 %{__make} %{_smp_mflags}
 
 %check
@@ -232,6 +234,9 @@ CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden -Wno-missing
 %doc %{_datadir}/doc/libopenvrml-%{version}/manual
 
 %changelog
+* Sat Jul 31 2010  Braden McDaniel  <braden at endoframe.com> - 0.18.6-3
+- Patch for boost-1.44.0.
+
 * Fri Jul 30 2010  Braden McDaniel  <braden at endoframe.com> - 0.18.6-2
 - Rebuilt for boost-1.44.0.
 


More information about the scm-commits mailing list