Bladeren bron

upgrading package: node012 0.12.16 -> 0.12.17

Ralf S. Engelschall 9 jaren geleden
bovenliggende
commit
1e8fd8bbef
2 gewijzigde bestanden met toevoegingen van 31 en 30 verwijderingen
  1. 27 27
      node012/node012.patch
  2. 4 3
      node012/node012.spec

+ 27 - 27
node012/node012.patch

@@ -1,16 +1,16 @@
 Index: common.gypi
---- common.gypi.orig	2015-05-14 02:30:45.000000000 +0200
-+++ common.gypi	2015-05-15 16:28:57.495109086 +0200
-@@ -172,7 +172,7 @@
+--- common.gypi.orig	2016-10-18 11:21:36.000000000 +0200
++++ common.gypi	2016-10-18 21:16:35.979404283 +0200
+@@ -180,7 +180,7 @@
          'ldflags': [ '-pthread' ],
        }],
        [ 'OS in "linux freebsd openbsd solaris android"', {
 -        'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
 +        'cflags': [ '-Wno-unused-parameter', ],
-         'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
-         'ldflags': [ '-rdynamic' ],
-         'target_conditions': [
-@@ -219,9 +219,6 @@
+         'cflags_cc': [
+           '-fno-delete-null-pointer-checks',
+           '-fno-exceptions',
+@@ -231,9 +231,6 @@
              '-fno-strict-aliasing',
            ],
            'WARNING_CFLAGS': [
@@ -21,9 +21,9 @@ Index: common.gypi
            ],
          },
 Index: configure
---- configure.orig	2015-05-14 02:30:45.000000000 +0200
-+++ configure	2015-05-15 16:28:57.495109086 +0200
-@@ -657,9 +657,9 @@
+--- configure.orig	2016-10-18 11:21:36.000000000 +0200
++++ configure	2016-10-18 21:14:51.579416505 +0200
+@@ -666,9 +666,9 @@
    if options.shared_v8_libpath:
      o['libraries'] += ['-L%s' % options.shared_v8_libpath]
    if options.shared_v8_libname:
@@ -36,8 +36,8 @@ Index: configure
      o['include_dirs'] += [options.shared_v8_includes]
  
 Index: deps/v8/build/toolchain.gypi
---- deps/v8/build/toolchain.gypi.orig	2015-05-14 02:30:45.000000000 +0200
-+++ deps/v8/build/toolchain.gypi	2015-05-15 16:28:57.505152262 +0200
+--- deps/v8/build/toolchain.gypi.orig	2016-10-18 11:21:36.000000000 +0200
++++ deps/v8/build/toolchain.gypi	2016-10-18 21:14:51.579416505 +0200
 @@ -538,12 +538,6 @@
        ['OS=="solaris"', {
          'defines': [ '__C99FEATURES__=1' ],  # isinf() etc.
@@ -52,8 +52,8 @@ Index: deps/v8/build/toolchain.gypi
      'configurations': {
        # Abstract configuration for v8_optimized_debug == 0.
 Index: deps/v8/src/base/platform/platform-freebsd.cc
---- deps/v8/src/base/platform/platform-freebsd.cc.orig	2015-05-14 02:30:45.000000000 +0200
-+++ deps/v8/src/base/platform/platform-freebsd.cc	2015-05-15 16:28:57.505152262 +0200
+--- deps/v8/src/base/platform/platform-freebsd.cc.orig	2016-10-18 11:21:36.000000000 +0200
++++ deps/v8/src/base/platform/platform-freebsd.cc	2016-10-18 21:14:51.579416505 +0200
 @@ -122,10 +122,10 @@
  
  
@@ -108,8 +108,8 @@ Index: deps/v8/src/base/platform/platform-freebsd.cc
                kMmapFdOffset) != MAP_FAILED;
  }
 Index: deps/v8/src/base/platform/platform-posix.cc
---- deps/v8/src/base/platform/platform-posix.cc.orig	2015-05-14 02:30:45.000000000 +0200
-+++ deps/v8/src/base/platform/platform-posix.cc	2015-05-15 16:28:57.505152262 +0200
+--- deps/v8/src/base/platform/platform-posix.cc.orig	2016-10-18 11:21:36.000000000 +0200
++++ deps/v8/src/base/platform/platform-posix.cc	2016-10-18 21:14:51.579416505 +0200
 @@ -327,7 +327,7 @@
  #elif V8_OS_ANDROID
    return static_cast<int>(gettid());
@@ -120,8 +120,8 @@ Index: deps/v8/src/base/platform/platform-posix.cc
  }
  
 Index: lib/dns.js
---- lib/dns.js.orig	2015-05-14 02:30:45.000000000 +0200
-+++ lib/dns.js	2015-05-15 16:28:57.505152262 +0200
+--- lib/dns.js.orig	2016-10-18 11:21:36.000000000 +0200
++++ lib/dns.js	2016-10-18 21:14:51.579416505 +0200
 @@ -151,6 +151,10 @@
    req.hostname = hostname;
    req.oncomplete = onlookup;
@@ -134,8 +134,8 @@ Index: lib/dns.js
    if (err) {
      callback(errnoException(err, 'getaddrinfo', hostname));
 Index: lib/module.js
---- lib/module.js.orig	2015-05-14 02:30:45.000000000 +0200
-+++ lib/module.js	2015-05-15 16:28:57.505152262 +0200
+--- lib/module.js.orig	2016-10-18 11:21:36.000000000 +0200
++++ lib/module.js	2016-10-18 21:14:51.579416505 +0200
 @@ -512,7 +512,10 @@
      var homeDir = process.env.HOME;
    }
@@ -149,8 +149,8 @@ Index: lib/module.js
    if (homeDir) {
      paths.unshift(path.resolve(homeDir, '.node_libraries'));
 Index: src/node_internals.h
---- src/node_internals.h.orig	2015-05-14 02:30:45.000000000 +0200
-+++ src/node_internals.h	2015-05-15 16:28:57.515075031 +0200
+--- src/node_internals.h.orig	2016-10-18 11:21:36.000000000 +0200
++++ src/node_internals.h	2016-10-18 21:14:51.579416505 +0200
 @@ -112,6 +112,8 @@
  # define ROUND_UP(a, b) ((a) % (b) ? ((a) + (b)) - ((a) % (b)) : (a))
  #endif
@@ -161,8 +161,8 @@ Index: src/node_internals.h
  # define MUST_USE_RESULT __attribute__((warn_unused_result))
  # define NO_RETURN __attribute__((noreturn))
 Index: src/util.h
---- src/util.h.orig	2015-05-14 02:30:45.000000000 +0200
-+++ src/util.h	2015-05-15 16:28:57.515075031 +0200
+--- src/util.h.orig	2016-10-18 11:21:36.000000000 +0200
++++ src/util.h	2016-10-18 21:14:51.579416505 +0200
 @@ -30,13 +30,17 @@
  
  namespace node {
@@ -203,8 +203,8 @@ Index: src/util.h
  
  // The helper is for doing safe downcasts from base types to derived types.
 Index: tools/install.py
---- tools/install.py.orig	2015-05-14 02:30:45.000000000 +0200
-+++ tools/install.py	2015-05-15 16:28:57.515075031 +0200
+--- tools/install.py.orig	2016-10-18 11:21:36.000000000 +0200
++++ tools/install.py	2016-10-18 21:14:51.579416505 +0200
 @@ -135,11 +135,6 @@
    # behave similarly for systemtap
    action(['src/node.stp'], 'share/systemtap/tapset/')
@@ -216,4 +216,4 @@ Index: tools/install.py
 -
    if 'true' == variables.get('node_install_npm'): npm_files(action)
  
-   action([
+   headers(action)

+ 4 - 3
node012/node012.spec

@@ -31,8 +31,8 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        Web
 License:      MIT/BSD
-Version:      0.12.16
-Release:      20160928
+Version:      0.12.17
+Release:      20161106
 
 #   package options
 %option       with_node  no
@@ -69,7 +69,8 @@ Provides:     node = %{version}
 %build
     #   provide local tool wrapper scripts as we cannot
     #   reliably pass the includes via configure variables
-    includes="-I`pwd`/deps/uv/src"
+    includes="-I`pwd`/deps/uv/include"
+    includes="$includes -I`pwd`/deps/uv/src"
     includes="$includes -I`pwd`/deps/v8"
     includes="$includes -I`pwd`/deps/v8/src"
     includes="$includes -I`pwd`/deps/v8/include"