Date: Fri, 15 Apr 2016 19:20:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208824] graphics/wayland: timer callback function not set for freebsd Message-ID: <bug-208824-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208824 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@FreeBSD.org Reporter: johannes@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 =3D &timer_source_interface; + source->func =3D func; #ifdef HAVE_SYS_TIMERFD_H source->base.fd =3D timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK); - source->func =3D func; return add_source(loop, &source->base, WL_EVENT_READABLE, data); #else --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208824-13>