public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/hidviz] rawhide: Fixed build with boost-1.90
Date: Thu, 23 Jul 2026 15:46:50 GMT	[thread overview]
Message-ID: <178482161070.1.2769974413011645664.rpms-hidviz-e77b01584786@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/hidviz
            Branch : rawhide
            Commit : e77b01584786ae5b2e151740672119ef1475a0bf
            Author : Jaroslav Škarvada <jskarvad@redhat.com>
            Date   : 2026-07-23T17:45:45+02:00
            Stats  : +43/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/hidviz/c/e77b01584786ae5b2e151740672119ef1475a0bf?branch=rawhide

            Log:
            Fixed build with boost-1.90

Resolved: rhbz#2504127

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>

---
diff --git a/hidviz-0.2.1-boost-1.90-fix.patch b/hidviz-0.2.1-boost-1.90-fix.patch
new file mode 100644
index 0000000..ccb056d
--- /dev/null
+++ b/hidviz-0.2.1-boost-1.90-fix.patch
@@ -0,0 +1,41 @@
+diff --git a/libhidx/libhidx/src/Connector.hh b/libhidx/libhidx/src/Connector.hh
+index 96ddef4..fcdf4e2 100644
+--- a/libhidx/libhidx/src/Connector.hh
++++ b/libhidx/libhidx/src/Connector.hh
+@@ -92,7 +92,7 @@ namespace libhidx {
+         std::string m_socketDir;
+ 
+         /// Asio IO service.
+-        asio::io_service m_ioService;
++        asio::io_context m_ioService;
+ 
+         /// Socket used to communicate with helper process.
+         std::unique_ptr<asio::generic::stream_protocol::socket> m_socket;
+diff --git a/libhidx/libhidx_server/src/Server.cc b/libhidx/libhidx_server/src/Server.cc
+index 7f8362c..06aefde 100644
+--- a/libhidx/libhidx_server/src/Server.cc
++++ b/libhidx/libhidx_server/src/Server.cc
+@@ -374,7 +374,7 @@ namespace server {
+ 
+         std::string sockPath = sockDir + "/" + SOCKET_FILENAME;
+ 
+-        asio::io_service io_service;
++        asio::io_context io_service;
+         local::endpoint ep(sockPath);
+         local::acceptor acceptor{io_service, ep};
+         local::socket localSocket{io_service};
+@@ -399,12 +399,12 @@ namespace server {
+                 return;
+             }
+ 
+-            timer.expires_from_now(500ms);
++            timer.expires_after(500ms);
+             timer.async_wait(timerHandler);
+         };
+ 
+         if(watchParent) {
+-            timer.expires_from_now(500ms);
++            timer.expires_after(500ms);
+             timer.async_wait(timerHandler);
+         }
+ 

diff --git a/hidviz.spec b/hidviz.spec
index 410e96a..d88bedb 100644
--- a/hidviz.spec
+++ b/hidviz.spec
@@ -14,6 +14,8 @@ BuildRequires:	libusbx-devel
 BuildRequires:	asio-devel
 # Already fixed in upstream
 Patch:		hidviz-0.2.1-cmake-4-fix.patch
+# https://github.com/hidviz/hidviz/pull/47
+Patch:		hidviz-0.2.1-boost-1.90-fix.patch
 
 %description
 Hidviz is a GUI application for in-depth analysis of USB HID class devices.

                 reply	other threads:[~2026-07-23 15:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178482161070.1.2769974413011645664.rpms-hidviz-e77b01584786@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox