[Bug 208824] graphics/wayland: timer callback function not set for freebsd
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 15 19:20:10 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208824
Bug ID: 208824
Summary: graphics/wayland: timer callback function not set for
freebsd
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: johannes at brilliantservice.co.jp
Callback function is only set within Linux #ifdef causing crash on FreeBSD.
Assuming that the callback function should be set on FreeBSD, the fix would be
this patch:
--- src/event-loop.c.orig 2016-04-15 12:11:21.500712000 -0700
+++ src/event-loop.c 2016-04-15 12:11:50.764629000 -0700
@@ -318,10 +318,10 @@
return NULL;
source->base.interface = &timer_source_interface;
+ source->func = func;
#ifdef HAVE_SYS_TIMERFD_H
source->base.fd = timerfd_create(CLOCK_MONOTONIC,
TFD_CLOEXEC | TFD_NONBLOCK);
- source->func = func;
return add_source(loop, &source->base, WL_EVENT_READABLE, data);
#else
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list