commit:     29e6638615c6ae297d0af887b7644e76a766fd1a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 07:45:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 07:45:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e66386

games-util/xboxdrv: fix build w/ boost-1.85

Thanks to Bugs Bugs for the patch on the bug. It's kind of a stub but
it's only for a debug message so not so bad until we can package the
fork mentioned in the bug.

Closes: https://bugs.gentoo.org/932747
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch | 12 ++++++++++++
 games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild    |  7 ++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch 
b/games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch
new file mode 100644
index 000000000000..77e910ababa3
--- /dev/null
+++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/932747#c4
+--- a/src/controller.cpp
++++ b/src/controller.cpp
+@@ -98,7 +98,7 @@ Controller::set_active(bool v)
+ {
+   if (m_is_active != v)
+   {
+-    log_debug("activation status: " << v << " " << m_activation_cb);
++    log_debug("activation status: " << v << " " << "unknown");
+     m_is_active = v;
+     if (m_activation_cb)
+     {

diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild 
b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild
index 45fe2ace917b..4a0f4935dcc0 100644
--- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild
+++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild
@@ -37,9 +37,10 @@ BDEPEND="
 "
 
 PATCHES=(
-       "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch
-       "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch
-       "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch
+       "${FILESDIR}/xboxdrv-0.8.8-some-boost-fix.patch"
+       "${FILESDIR}/xboxdrv-0.8.8-Update-SConstruct-to-python3.patch"
+       "${FILESDIR}/xboxdrv-0.8.8-Updating-python-code-to-python3.patch"
+       "${FILESDIR}/xboxdrv-0.8.8-boost-1.85.patch"
 )
 
 CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"

Reply via email to