nodejs: fix build.
This commit is contained in:
parent
1401deb58c
commit
8cb520f2d6
|
@ -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<char> data(kDecompressedSize);
|
||||
strm.next_out = reinterpret_cast<Byte*>(&data[0]);
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue