Просмотр исходного кода

upgrading package: node 7.0.0 -> 7.1.0

Ralf S. Engelschall 9 лет назад
Родитель
Сommit
0399e7d895
2 измененных файлов с 5 добавлено и 47 удалено
  1. 0 38
      node/node.patch
  2. 5 9
      node/node.spec

+ 0 - 38
node/node.patch

@@ -115,44 +115,6 @@ Index: deps/v8/src/v8.gyp
              ]},
              'sources': [
                'base/debug/stack_trace_posix.cc',
-Index: deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16_cpp.template
---- deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16_cpp.template.orig	2016-10-25 15:26:11.000000000 +0200
-+++ deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16_cpp.template	2016-10-25 20:51:36.817891845 +0200
-@@ -4,6 +4,7 @@
- 
- #include <cstdlib>
- #include <cstring>
-+#include <cstdio>
- #include <string>
- 
- namespace blink {
-@@ -13,22 +14,22 @@
- 
- void intToStr(int number, char* buffer, size_t length)
- {
--    std::snprintf(buffer, length, "%d", number);
-+    snprintf(buffer, length, "%d", number);
- }
- 
- void doubleToStr(double number, char* buffer, size_t length)
- {
--    std::snprintf(buffer, length, "%f", number);
-+    snprintf(buffer, length, "%f", number);
- }
- 
- void doubleToStr3(double number, char* buffer, size_t length)
- {
--    std::snprintf(buffer, length, "%.3g", number);
-+    snprintf(buffer, length, "%.3g", number);
- }
- 
- void doubleToStr6(double number, char* buffer, size_t length)
- {
--    std::snprintf(buffer, length, "%.6g", number);
-+    snprintf(buffer, length, "%.6g", number);
- }
- 
- double strToDouble(const char* buffer, bool* ok)
 Index: lib/dns.js
 --- lib/dns.js.orig	2016-10-25 15:26:12.000000000 +0200
 +++ lib/dns.js	2016-10-25 20:51:36.817891845 +0200

+ 5 - 9
node/node.spec

@@ -22,8 +22,8 @@
 ##
 
 #   package version
-%define       V_opkg  7.0.0
-%define       V_dist  7.0.0
+%define       V_opkg  7.1.0
+%define       V_dist  7.1.0
 
 #   package information
 Name:         node
@@ -36,7 +36,7 @@ Class:        PLUS
 Group:        Web
 License:      MIT/BSD
 Version:      %{V_opkg}
-Release:      20161025
+Release:      20161109
 
 #   package options
 %option       with_icu   yes
@@ -49,8 +49,8 @@ Patch0:       node.patch
 #   build information
 BuildPreReq:  OpenPKG, openpkg >= 20160101, make, gcc >= 5.2, gcc::with_cxx = yes, python, pkgconfig
 PreReq:       OpenPKG, openpkg >= 20160101
-BuildPreReq:  openssl >= 1.0.2, libexecinfo, zlib, ares, libuv, http-parser
-PreReq:       openssl >= 1.0.2, libexecinfo, zlib, ares, libuv, http-parser
+BuildPreReq:  openssl >= 1.0.2, libexecinfo, zlib, ares, http-parser
+PreReq:       openssl >= 1.0.2, libexecinfo, zlib, ares, http-parser
 %if "%{with_icu}" == "yes"
 BuildPreReq:  icu
 PreReq:       icu
@@ -115,10 +115,6 @@ PreReq:       icu
         --shared-cares-includes=%{l_prefix}/include \
         --shared-cares-libpath=%{l_prefix}/lib \
         --shared-cares-libname="ares" \
-        --shared-libuv \
-        --shared-libuv-includes=%{l_prefix}/include \
-        --shared-libuv-libpath=%{l_prefix}/lib \
-        --shared-libuv-libname="uv" \
 %if "%{with_icu}" == "yes"
         --with-intl=system-icu \
 %else