commit:     f9f7c94ab628d3167d441af498acfd5d7f481357
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 21:49:35 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 17 21:23:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f7c94a

net-p2p/amule: Fix build w/ boost-1.89

Closes: https://bugs.gentoo.org/963550
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-p2p/amule/amule-2.3.3-r7.ebuild              |  3 ++-
 net-p2p/amule/files/amule-2.3.3-boost-1.89.patch | 15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/net-p2p/amule/amule-2.3.3-r7.ebuild 
b/net-p2p/amule/amule-2.3.3-r7.ebuild
index c9eed1e1dbf2..cf67b6843b53 100644
--- a/net-p2p/amule/amule-2.3.3-r7.ebuild
+++ b/net-p2p/amule/amule-2.3.3-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -58,6 +58,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-2.3.3-wx3.2.patch"
        "${FILESDIR}/${PN}-2.3.3-use-xdg-open-as-preview-default.patch"
        "${FILESDIR}/${P}-boost-1.87.patch"
+       "${FILESDIR}/${P}-boost-1.89.patch" # bug 963550
 )
 
 src_prepare() {

diff --git a/net-p2p/amule/files/amule-2.3.3-boost-1.89.patch 
b/net-p2p/amule/files/amule-2.3.3-boost-1.89.patch
new file mode 100644
index 000000000000..173aad54c827
--- /dev/null
+++ b/net-p2p/amule/files/amule-2.3.3-boost-1.89.patch
@@ -0,0 +1,15 @@
+https://github.com/amule-project/amule/issues/416
+
+diff --git a/src/LibSocketAsio.cpp b/src/LibSocketAsio.cpp
+index 8e15c8635..d36db0f85 100644
+--- a/src/LibSocketAsio.cpp
++++ b/src/LibSocketAsio.cpp
+@@ -43,6 +43,8 @@
+ #include <algorithm>  // Needed for std::min - Boost up to 1.54 fails to 
compile with MSVC 2013 otherwise
+ 
+ #include <boost/asio.hpp>
++#include <boost/asio/deadline_timer.hpp>
++#include <boost/date_time/posix_time/posix_time.hpp>
+ #include <boost/bind.hpp>
+ #include <boost/version.hpp>
+ 

Reply via email to