Files
nodejs11/manual_configure.patch
Adam Majer 35742eb32a - Initial release of NodeJS 11.0.0
- Notable changes since NodeJS 10.12.0:
  * Use of process.binding() has been deprecated.
  * An experimental implementation of queueMicrotask() is added.
  * child_process: The default value of the windowsHide option
    has been changed to true.
  * deps: V8 has been updated to 7.0.
  * fs:
    + fs.read() method now requires a callback
    + The previously deprecated fs.SyncWriteStream utility has
      been removed
  * http: The http, https, and tls modules now use the WHATWG URL
    parser by default.
  * timers: nextTick queue will be run after each immediate and timer.
  * util:
    + WHATWG TextEncoder and TextDecoder are now globals.
    + util.inspect() output size is limited to 128 MB by default.
    + A runtime warning will be emitted when NODE_DEBUG is set for
      either http or http2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs11?expand=0&rev=1
2018-10-25 14:40:03 +00:00

42 lines
1.4 KiB
Diff

Author: Adam Majer <amajer@suse.de>
Date: Wed May 23 14:13:33 CEST 2018
Summary: This config.h is defined by hand
Gyp doesn't run autotools, so this config is not quite correct.
Update to prevent implicit defines to be used.
Index: node-v10.1.0/deps/nghttp2/lib/includes/config.h
===================================================================
--- node-v10.1.0.orig/deps/nghttp2/lib/includes/config.h
+++ node-v10.1.0/deps/nghttp2/lib/includes/config.h
@@ -54,7 +54,7 @@ typedef intptr_t ssize_t;
/* #undef NOTHREADS */
/* Define to 1 if you have the <arpa/inet.h> header file. */
-/* #undef HAVE_ARPA_INET_H */
+#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
@@ -69,7 +69,7 @@ typedef intptr_t ssize_t;
/* #undef HAVE_NETDB_H */
/* Define to 1 if you have the <netinet/in.h> header file. */
-/* #undef HAVE_NETINET_IN_H */
+#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the <pwd.h> header file. */
/* #undef HAVE_PWD_H */
Index: node-v10.1.0/deps/nghttp2/nghttp2.gyp
===================================================================
--- node-v10.1.0.orig/deps/nghttp2/nghttp2.gyp
+++ node-v10.1.0/deps/nghttp2/nghttp2.gyp
@@ -12,6 +12,7 @@
'defines': [
'BUILDING_NGHTTP2',
'NGHTTP2_STATICLIB',
+ 'HAVE_CONFIG_H',
],
'conditions': [
['OS=="win"', {