gentoo/dev-libs/boost/files/boost-1.88.0-algorithm-reverse_copy.patch
Holger Hoffstätte 86a2a61ea2
dev-libs/boost: fix algorithm tests
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/41966
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-07 11:50:14 +01:00

25 lines
892 B
Diff

Patch from: https://github.com/boostorg/algorithm/pull/124
Fixed patch paths to match boost distribution.
From 7012619c8056b1b30f88bc57dd39c80c0018214f Mon Sep 17 00:00:00 2001
From: Yuriy Chernyshov <thegeorg@yandex-team.com>
Date: Mon, 5 May 2025 18:01:59 +0200
Subject: [PATCH] Add missing include
---
include/boost/algorithm/searching/boyer_moore.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/boost/algorithm/searching/boyer_moore.hpp b/include/boost/algorithm/searching/boyer_moore.hpp
index 80a5a4474..e3c00105c 100644
--- a/boost/algorithm/searching/boyer_moore.hpp
+++ b/boost/algorithm/searching/boyer_moore.hpp
@@ -10,6 +10,7 @@
#ifndef BOOST_ALGORITHM_BOYER_MOORE_SEARCH_HPP
#define BOOST_ALGORITHM_BOYER_MOORE_SEARCH_HPP
+#include <algorithm> // for std::reverse_copy
#include <iterator> // for std::iterator_traits
#include <boost/config.hpp>