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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243649

--- Comment #7 from Jan Beich <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.