diff --git a/srcpkgs/nodejs/patches/fix-implicit-conversation.patch b/srcpkgs/nodejs/patches/fix-implicit-conversation.patch new file mode 100644 index 00000000000..1050c9e3334 --- /dev/null +++ b/srcpkgs/nodejs/patches/fix-implicit-conversation.patch @@ -0,0 +1,13 @@ +diff --git src/inspector_agent.cc src/inspector_agent.cc +index fdc8819..a4c4d52 100644 +--- src/inspector_agent.cc ++++ src/inspector_agent.cc +@@ -176,7 +176,7 @@ void SendProtocolJson(InspectorSocket* socket) { + PROTOCOL_JSON[0] * 0x10000u + + PROTOCOL_JSON[1] * 0x100u + + PROTOCOL_JSON[2]; +- strm.next_in = PROTOCOL_JSON + 3; ++ strm.next_in = (Bytef *)(PROTOCOL_JSON + 3); + strm.avail_in = sizeof(PROTOCOL_JSON) - 3; + std::vector data(kDecompressedSize); + strm.next_out = reinterpret_cast(&data[0]); diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 74b56a4d1b9..027450c1e58 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -19,7 +19,6 @@ build_options="ssl libuv http_parser" desc_option_libuv="Enable shared libuv" desc_option_http_parser="Enable shared http-parser" build_options_default="libuv http_parser" -broken="https://build.voidlinux.eu/builders/i686_builder/builds/26363/steps/shell_3/logs/stdio" replaces="iojs>=0"