diff --git a/srcpkgs/libuv/patches/disable-fs-chown.patch b/srcpkgs/libuv/patches/disable-fs-chown.patch new file mode 100644 index 00000000000..2483646bfd5 --- /dev/null +++ b/srcpkgs/libuv/patches/disable-fs-chown.patch @@ -0,0 +1,20 @@ +--- test/test-list.h ++++ test/test-list.h +@@ -279,7 +279,7 @@ TEST_DECLARE (fs_access) + TEST_DECLARE (fs_chmod) + TEST_DECLARE (fs_copyfile) + TEST_DECLARE (fs_unlink_readonly) +-TEST_DECLARE (fs_chown) ++/* TEST_DECLARE (fs_chown) */ + TEST_DECLARE (fs_link) + TEST_DECLARE (fs_readlink) + TEST_DECLARE (fs_realpath) +@@ -797,7 +797,7 @@ TASK_LIST_START + TEST_ENTRY (fs_chmod) + TEST_ENTRY (fs_copyfile) + TEST_ENTRY (fs_unlink_readonly) +- TEST_ENTRY (fs_chown) ++ /* TEST_ENTRY (fs_chown) */ + TEST_ENTRY (fs_utime) + TEST_ENTRY (fs_futime) + TEST_ENTRY (fs_readlink) diff --git a/srcpkgs/libuv/patches/disable-setuid-test.patch b/srcpkgs/libuv/patches/disable-setuid-test.patch new file mode 100644 index 00000000000..2468da5be9d --- /dev/null +++ b/srcpkgs/libuv/patches/disable-setuid-test.patch @@ -0,0 +1,45 @@ +--- test/test-list.h ++++ test/test-list.h +@@ -240,8 +240,10 @@ TEST_DECLARE (spawn_detached) + TEST_DECLARE (spawn_and_kill_with_std) + TEST_DECLARE (spawn_and_ping) + TEST_DECLARE (spawn_preserve_env) ++#if 0 + TEST_DECLARE (spawn_setuid_fails) + TEST_DECLARE (spawn_setgid_fails) ++#endif + TEST_DECLARE (spawn_stdout_to_file) + TEST_DECLARE (spawn_stdout_and_stderr_to_file) + TEST_DECLARE (spawn_stdout_and_stderr_to_file2) +@@ -351,7 +353,9 @@ TEST_DECLARE (win32_signum_number) + TEST_DECLARE (emfile) + TEST_DECLARE (close_fd) + TEST_DECLARE (spawn_fs_open) ++#if 0 + TEST_DECLARE (spawn_setuid_setgid) ++#endif + TEST_DECLARE (we_get_signal) + TEST_DECLARE (we_get_signals) + TEST_DECLARE (signal_multiple_loops) +@@ -669,8 +673,10 @@ TASK_LIST_START + TEST_ENTRY (spawn_and_kill_with_std) + TEST_ENTRY (spawn_and_ping) + TEST_ENTRY (spawn_preserve_env) ++#if 0 + TEST_ENTRY (spawn_setuid_fails) + TEST_ENTRY (spawn_setgid_fails) ++#endif + TEST_ENTRY (spawn_stdout_to_file) + TEST_ENTRY (spawn_stdout_and_stderr_to_file) + TEST_ENTRY (spawn_stdout_and_stderr_to_file2) +@@ -701,7 +707,9 @@ TASK_LIST_START + TEST_ENTRY (emfile) + TEST_ENTRY (close_fd) + TEST_ENTRY (spawn_fs_open) ++#if 0 + TEST_ENTRY (spawn_setuid_setgid) ++#endif + TEST_ENTRY (we_get_signal) + TEST_ENTRY (we_get_signals) + TEST_ENTRY (signal_multiple_loops) + diff --git a/srcpkgs/libuv/template b/srcpkgs/libuv/template index ec8921ea2b5..40336261b4d 100644 --- a/srcpkgs/libuv/template +++ b/srcpkgs/libuv/template @@ -1,6 +1,6 @@ # Template build file for 'libuv' pkgname=libuv -version=1.16.1 +version=1.17.0 revision=1 short_desc="Multi-platform support library with a focus on asynchronous I/O" maintainer="Enno Boland " @@ -9,7 +9,7 @@ build_style="gnu-configure" hostmakedepends="automake libtool pkg-config" homepage="http://libuv.org/" distfiles="https://github.com/libuv/libuv/archive/v$version.tar.gz" -checksum=61f7937eef924da0dc386c038b8a4e1fc4f1803af966e1ecf640fb0e1cb5043b +checksum=c7282fd7ccec9b8c331e7bb6d5008617f8a980e61ec5748be61c263b85efb47c pre_configure() { NOCONFIGURE=1 ./autogen.sh