Source: libuv1
Version: 1.22.0-1
Severity: important
Tags: upstream
User: [email protected]
Usertags: kfreebsd
Hi,
Currently libuv1 does not build properly on kfreebsd-any due to a
missing linkage of /lib/libfreebsd-glue.so.0, causing an 'undefined
reference to bsd_sendfile' when linking. With the submitted patch
configure.ac.diff the testsuite runs with result: FAIL=17(333).
Additionally, the symbols file needs updating, the attached file
debian_libuv1.symbols.diff fixes that.
Thanks!
Index: libuv1-1.22.0/configure.ac
===================================================================
--- libuv1-1.22.0.orig/configure.ac
+++ libuv1-1.22.0/configure.ac
@@ -68,6 +68,9 @@ AS_CASE([$host_os],[mingw*], [
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32"
])
AS_CASE([$host_os], [netbsd*], [AC_CHECK_LIB([kvm], [kvm_open])])
+AS_CASE([$host_os], [kfreebsd*], [
+ LIBS="$LIBS -lfreebsd-glue"
+])
AC_CHECK_HEADERS([sys/ahafs_evProds.h])
AC_CONFIG_FILES([Makefile libuv.pc])
AC_OUTPUT
--- a/debian/libuv1.symbols 2018-07-20 17:18:26.000000000 +0200
+++ b/debian/libuv1.symbols 2018-07-24 23:07:02.668107000 +0200
@@ -46,6 +46,7 @@
(arch=!hurd-any)uv__io_poll@Base 1.11.0
uv__io_start@Base 1.11.0
uv__io_stop@Base 1.11.0
+ (arch=kfreebsd-any)uv__kqueue_init@Base 1.22.0-1
uv__loop_close@Base 1.11.0
uv__loop_configure@Base 1.11.0
uv__make_close_pending@Base 1.11.0
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel