public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Upstream patch for Boost 1.68, include path for sha1.hpp
@ 2026-06-25 5:49
0 siblings, 0 replies; only message in thread
From: @ 2026-06-25 5:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pcl
Branch : f44
Commit : e825c0d9be24cc3edf0af0ce91a0592d19bb475f
Author : Volker Fröhlich <volker27@gmx.at>
Date : 2019-02-03T19:44:30+01:00
Stats : +36/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/pcl/c/e825c0d9be24cc3edf0af0ce91a0592d19bb475f?branch=f44
Log:
Upstream patch for Boost 1.68, include path for sha1.hpp
---
diff --git a/pcl-1.8.1-boost168.patch b/pcl-1.8.1-boost168.patch
new file mode 100644
index 0000000..932c71d
--- /dev/null
+++ b/pcl-1.8.1-boost168.patch
@@ -0,0 +1,28 @@
+From 491b7c7e12ce39c59fb1f22718812a02e7f58065 Mon Sep 17 00:00:00 2001
+From: Jan Beich <jbeich@FreeBSD.org>
+Date: Mon, 9 Jul 2018 11:11:07 +0000
+Subject: [PATCH] pcl_visualizer: unbreak with boost 1.68
+
+visualization/src/pcl_visualizer.cpp:103:10: fatal error: 'boost/uuid/sha1.hpp' file not found
+ #include <boost/uuid/sha1.hpp>
+ ^~~~~~~~~~~~~~~~~~~~~
+---
+ visualization/src/pcl_visualizer.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/visualization/src/pcl_visualizer.cpp b/visualization/src/pcl_visualizer.cpp
+index e4a6ed3031..afdddb3551 100644
+--- a/visualization/src/pcl_visualizer.cpp
++++ b/visualization/src/pcl_visualizer.cpp
+@@ -104,7 +104,11 @@
+ #include <pcl/visualization/pcl_visualizer.h>
+ #include <pcl/visualization/common/common.h>
+ #include <pcl/common/time.h>
++#if (BOOST_VERSION >= 106600)
++#include <boost/uuid/detail/sha1.hpp>
++#else
+ #include <boost/uuid/sha1.hpp>
++#endif
+ #include <boost/filesystem.hpp>
+ #include <pcl/console/parse.h>
+
diff --git a/pcl.spec b/pcl.spec
index c90dcd4..5c1e6c9 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -4,7 +4,7 @@
Name: pcl
Version: 1.8.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Library for point cloud processing
License: BSD
URL: http://pointclouds.org/
@@ -27,6 +27,9 @@ Patch4: %{name}-1.8.1-gcc7.patch
# Upstream commit to generate pcl-2d.pc
Patch5: %{name}-f26bd2.patch
+# https://github.com/PointCloudLibrary/pcl/commit/491b7c7e12ce39c59fb1f22718812a02e7f58065.patch
+Patch6: %{name}-boost168.patch
+
# For plain building
BuildRequires: cmake, gcc-c++, boost-devel
# Documentation
@@ -88,6 +91,7 @@ Library.
%patch3 -p0 -b .doxyfix
%patch4 -p0 -b .gcc7
%patch5 -p1
+%patch6 -p1
# Just to make it obvious we're not using any of these
rm -fr recognition/include/pcl/recognition/3rdparty/metslib
rm -fr surface/src/3rdparty/opennurbs
@@ -193,6 +197,9 @@ ARGS='-V' make -C build test || true
%doc build/doc/advanced/advanced
%changelog
+* Sun Feb 03 2019 Volker Fröhlich <volker27@gmx.at> - 1.8.1-7
+- Resolve build with Boost 1.69
+
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 5:49 [rpms/pcl] f44: Upstream patch for Boost 1.68, include path for sha1.hpp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox