diff --git a/srcpkgs/xboxdrv/patches/fix-ftbfs.patch b/srcpkgs/xboxdrv/patches/fix-ftbfs.patch new file mode 100644 index 00000000000..9eae0327384 --- /dev/null +++ b/srcpkgs/xboxdrv/patches/fix-ftbfs.patch @@ -0,0 +1,22 @@ +--- 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 << " m_activation_cb"); + m_is_active = v; + if (m_activation_cb) + { +--- a/src/controller_slot.cpp ++++ b/src/controller_slot.cpp +@@ -69,7 +69,7 @@ ControllerSlot::disconnect() + bool + ControllerSlot::is_connected() const + { +- return m_thread; ++ return m_thread != nullptr; + } + + /* EOF */ diff --git a/srcpkgs/xboxdrv/template b/srcpkgs/xboxdrv/template index cfb65985314..aab158d9062 100644 --- a/srcpkgs/xboxdrv/template +++ b/srcpkgs/xboxdrv/template @@ -1,10 +1,12 @@ # Template file for 'xboxdrv' pkgname=xboxdrv version=0.8.8 -revision=3 +revision=4 build_style=scons +make_build_args=BUILD=custom hostmakedepends="pkg-config glib-devel dbus-glib-devel" -makedepends="boost-devel libX11-devel eudev-libudev-devel libusb-devel dbus-glib-devel glib-devel" +makedepends="boost-devel-minimal libX11-devel eudev-libudev-devel + libusb-devel dbus-glib-devel glib-devel" short_desc="Xbox Gamepad Userspace Driver" maintainer="Andrea Brancaleoni " license="GPL-3.0-or-later"