Fredrik Fornwall
9 years ago
4 changed files with 58 additions and 28 deletions
@ -0,0 +1,29 @@ |
|||||
|
XXX: Revert https://github.com/nodejs/node/pull/3135 since it causes |
||||
|
problems when trying to compile on Android with shared libuv, zlib |
||||
|
and openssl due to v8 not using stlport correctly. |
||||
|
|
||||
|
diff -u -r ../node-v5.4.1/configure ./configure
|
||||
|
--- ../node-v5.4.1/configure 2016-01-12 16:21:55.000000000 -0500
|
||||
|
+++ ./configure 2016-01-14 21:32:40.404401232 -0500
|
||||
|
@@ -771,15 +771,15 @@
|
||||
|
if pkg_cflags: |
||||
|
output['include_dirs'] += ( |
||||
|
filter(None, map(str.strip, pkg_cflags.split('-I')))) |
||||
|
- elif options.__dict__[shared_lib + '_includes']:
|
||||
|
- output['include_dirs'] += [options.__dict__[shared_lib + '_includes']]
|
||||
|
+ #elif options.__dict__[shared_lib + '_includes']:
|
||||
|
+ # output['include_dirs'] += [options.__dict__[shared_lib + '_includes']]
|
||||
|
|
||||
|
# libpath needs to be provided ahead libraries |
||||
|
if pkg_libpath: |
||||
|
- output['libraries'] += [pkg_libpath]
|
||||
|
- elif options.__dict__[shared_lib + '_libpath']:
|
||||
|
- output['libraries'] += [
|
||||
|
- '-L%s' % options.__dict__[shared_lib + '_libpath']]
|
||||
|
+ output['libraries'] += filter(None, map(str.strip, pkg_cflags.split('-L')))
|
||||
|
+ #elif options.__dict__[shared_lib + '_libpath']:
|
||||
|
+ # output['libraries'] += [
|
||||
|
+ # '-L%s' % options.__dict__[shared_lib + '_libpath']]
|
||||
|
|
||||
|
default_libs = getattr(options, shared_lib + '_libname') |
||||
|
default_libs = map('-l{0}'.format, default_libs.split(',')) |
@ -1,14 +0,0 @@ |
|||||
See https://github.com/nodejs/node-v0.x-archive/issues/8540 |
|
||||
|
|
||||
diff -u -r ../node-v4.0.0/lib/net.js ./lib/net.js
|
|
||||
--- ../node-v4.0.0/lib/net.js 2015-09-08 11:30:45.000000000 -0400
|
|
||||
+++ ./lib/net.js 2015-09-08 17:37:04.293684663 -0400
|
|
||||
@@ -951,7 +951,7 @@
|
|
||||
// systems. See |
|
||||
// http://lists.freebsd.org/pipermail/freebsd-bugs/2008-February/028260.html |
|
||||
// for more information on the lack of support for FreeBSD. |
|
||||
- if (process.platform !== 'freebsd')
|
|
||||
+ if (process.platform !== 'freebsd' && process.platform !== 'android')
|
|
||||
dnsopts.hints |= dns.V4MAPPED; |
|
||||
} |
|
||||
|
|
Loading…
Reference in new issue