mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 19:43:07 +02:00
xboxdrv: fix ftbfs
This commit is contained in:
parent
325ba67b9c
commit
2d28d60fe1
2 changed files with 26 additions and 2 deletions
22
srcpkgs/xboxdrv/patches/fix-ftbfs.patch
Normal file
22
srcpkgs/xboxdrv/patches/fix-ftbfs.patch
Normal file
|
@ -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 */
|
|
@ -1,10 +1,12 @@
|
||||||
# Template file for 'xboxdrv'
|
# Template file for 'xboxdrv'
|
||||||
pkgname=xboxdrv
|
pkgname=xboxdrv
|
||||||
version=0.8.8
|
version=0.8.8
|
||||||
revision=3
|
revision=4
|
||||||
build_style=scons
|
build_style=scons
|
||||||
|
make_build_args=BUILD=custom
|
||||||
hostmakedepends="pkg-config glib-devel dbus-glib-devel"
|
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"
|
short_desc="Xbox Gamepad Userspace Driver"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
|
Loading…
Add table
Reference in a new issue