[Bug 243649] [patch] devel/libepoll-shim: Update to 0.0.20191117 version to unbreak re-plugging input devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 31 15:43:37 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243649

--- Comment #7 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 211197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211197
Patch to change libepoll-shim to use actual upstream, test targets, update to
20191117

Compared to Greg's version reviewed by me[1] and linked in comment 1 there're 2
regressions.

LICENSE_FILE=${WRKSRC}/LICENSE is required to disambiguate MIT text as there're
many styles, see https://fedoraproject.org/wiki/Licensing:MIT

USES=compiler:c11 is required to fix build on powerpc* on FreeBSD < 13.0,
mips*, riscv64 and sparc64:

  In file included from test/eventfd-ctx-test.c:13:
  test/../src/eventfd_ctx.c: In function 'eventfd_ctx_write':
  test/../src/eventfd_ctx.c:67: warning: implicit declaration of function
'__builtin_add_overflow'
  test/eventfd-ctx-test.c: In function 'tc_threads_read':
  test/eventfd-ctx-test.c:193: error: incompatible types in assignment
  test/eventfd-ctx-test.c:221: error: invalid operands to binary == (have
'atomic_int' and 'uint64_t')

> +do-test:
> +	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE}

Define TEST_TARGET=test instead.

[1] Happened in a version that became disconnected from lite branch after
rebase
    https://github.com/myfreeweb/freebsd-ports-dank/commit/6b940188d93d

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list