Created attachment 202086 [details] Patch to fix push to talk support. Import upstream commit 22b183433c37d51867ec4eb55813ac2b1db6477c that adds support for push to talk on FreeBSD. https://github.com/uTox/uTox/commit/22b183433c37d51867ec4eb55813ac2b1db6477c Tested working and push to talk is now functional.
Comment on attachment 202086 [details] Patch to fix push to talk support. + #ifdef __linux__ + #include <linux/input.h> ++#elif defined(__DragonFly__) || defined(__FreeBSD__) ++#include <linux/input.h> ++#endif Have you sent this change upstream too? How about doing it like this? #if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) #include <linux/input.h> #endif Please add a link to the upstream commit in the patch header.
A commit references this bug: Author: swills Date: Fri Apr 19 19:08:02 UTC 2019 New revision: 499385 URL: https://svnweb.freebsd.org/changeset/ports/499385 Log: net-im/uTox: Fix push to talk PR: 235799 Submitted by: Darren Mulligan <fixer@bsdmail.com> Approved by: maintainer timeout (portmaster@bsdforge.com, >2 months) Changes: head/net-im/uTox/Makefile head/net-im/uTox/files/patch-src_xlib_main.c
Committed, thanks!
A commit references this bug: Author: tobik Date: Sat Apr 20 10:39:17 UTC 2019 New revision: 499436 URL: https://svnweb.freebsd.org/changeset/ports/499436 Log: net-im/uTox: Add missing link to upstream commit to patch PR: 235799 Changes: head/net-im/uTox/files/patch-src_xlib_main.c