Control: tags -1 +patch

在 2026-03-06五的 12:47 -0700,Soren Stoutner写道:
> On Friday, March 6, 2026 8:33:35 AM Mountain Standard Time Boyuan Yang wrote:
> > Hi,
> > 
> > On Mon, 16 Feb 2026 16:50:06 -0700 Soren Stoutner <[email protected]> wrote:
> > > It looks like an explicit include is required for boost 1.90 that isn’t
> > > required for boost 1.83.
> > > 
> > > #include <boost/chrono/floor.hpp>
> > > 
> > > I will probably wait to see if upstream adds the missing include.  If they
> > > don’t by the time boost 1.90 becomes the default, then I will add it with 
> a
> > > patch.
> > 
> > Any possibility to take a look into handling it recently? The boost1.90
> > transition has started, and the FTBFS in feather-wallet is blocking the
> > https://release.debian.org/transitions/html/auto-zxing-cpp.html transition
> > that I am handling. I can also make an NMU if you find that better.
> 
> Looking at the build failures with boost 1.90, it looks like a much more 
> extensive patch will be needed than what I originally thought.
> 
> I am happy to accept a patch or an NMU.  I probably won’t have time to work 
> on 
> this until next week, so if you can get to it before that I would appreciate 
> it.

No need to make things complicated, I believe the patch is simple. See below:

diff --git a/monero/contrib/epee/include/net/http_base.h 
b/monero/contrib/epee/include/net/http_base.h
index 4af4da7..87b09e0 100644
--- a/monero/contrib/epee/include/net/http_base.h
+++ b/monero/contrib/epee/include/net/http_base.h
@@ -31,6 +31,7 @@
 
 #include <boost/utility/string_ref.hpp>
 
+#include <cmath>
 #include <string>
 #include <utility>
 #include <list>

Let me know if it's okay for me to upload a NMU or you may want to handle it.

Thanks,
Boyuan

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to