corsepiu pushed to k3d (f21). "Drop use of boost/math/tools/test.hpp, which is not shipped anymore"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 7 04:38:23 UTC 2015


>From e28ffb440d87ed88cb618fb6f0d87f5fa4edd5ea Mon Sep 17 00:00:00 2001
From: Petr Machata <pmachata at redhat.com>
Date: Thu, 29 Jan 2015 01:49:43 +0100
Subject: Drop use of boost/math/tools/test.hpp, which is not shipped anymore


diff --git a/k3d-0.8.0.2-boost157.patch b/k3d-0.8.0.2-boost157.patch
new file mode 100644
index 0000000..eacfb5f
--- /dev/null
+++ b/k3d-0.8.0.2-boost157.patch
@@ -0,0 +1,12 @@
+diff -up ./k3dsdk/difference.h~ ./k3dsdk/difference.h
+--- ./k3dsdk/difference.h~	2010-07-03 04:27:47.000000000 +0200
++++ ./k3dsdk/difference.h	2015-01-29 01:29:25.799061127 +0100
+@@ -31,7 +31,6 @@
+ #include <boost/accumulators/statistics/stats.hpp>
+ #include <boost/accumulators/statistics/variance.hpp>
+ #include <boost/math/special_functions/next.hpp>
+-#include <boost/math/tools/test.hpp>
+ #include <boost/static_assert.hpp>
+ 
+ namespace k3d
+diff -up ./k3dsdk/.difference.h.~undo-tree~ ./k3dsdk/.difference.h.~undo-tree
diff --git a/k3d.spec b/k3d.spec
index ea7dd98..0231858 100644
--- a/k3d.spec
+++ b/k3d.spec
@@ -16,6 +16,7 @@ Patch3:         k3d-0.8.0.2-libpng1.4.patch
 Patch4:         k3d-0.8.0.2-gcc-4.7.patch
 # Extracted from Debian's k3d_0.8.0.3.orig.tar.xz
 Patch5:         k3d-0.8.0.2-inotify.patch
+Patch6:         k3d-0.8.0.2-boost157.patch
 
 # This list is alpha sorted.
 BuildRequires:  boost-devel
@@ -96,6 +97,7 @@ rendering a model written by K-3D.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 # binaries in source tarball
 rm tests/*.pyc
@@ -183,8 +185,10 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 
 %changelog
-* Tue Jan 27 2015 Petr Machata <pmachata at redhat.com> - 0.8.0.2-32
+* Thu Jan 29 2015 Petr Machata <pmachata at redhat.com> - 0.8.0.2-32
 - Rebuild for boost 1.57.0
+- Drop use of boost/math/tools/test.hpp, which is not shipped anymore
+  (k3d-0.8.0.2-boost157.patch)
 
 * Wed Nov 26 2014 Rex Dieter <rdieter at fedoraproject.org> 0.8.0.2-31
 - rebuild (openexr)
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/k3d.git/commit/?h=f21&id=e28ffb440d87ed88cb618fb6f0d87f5fa4edd5ea


More information about the scm-commits mailing list