diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2012-11-09 01:13:50 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2012-11-09 01:13:50 +0000 |
commit | fedfadf712df711cb56b5e7b85d0555c6b8476c8 (patch) | |
tree | 562062ad214febfa6d7e4a144595225202afb05e /www/node-devel | |
parent | 88478b96bf651c42989c2f725ce18bbc2345cbaa (diff) |
Notes
Diffstat (limited to 'www/node-devel')
-rw-r--r-- | www/node-devel/files/patch-deps__openssl__openssl.gyp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/node-devel/files/patch-deps__openssl__openssl.gyp b/www/node-devel/files/patch-deps__openssl__openssl.gyp new file mode 100644 index 000000000000..bf93d0a9987e --- /dev/null +++ b/www/node-devel/files/patch-deps__openssl__openssl.gyp @@ -0,0 +1,29 @@ +--- ./deps/openssl/openssl.gyp.orig 2012-10-24 12:21:44.000000000 -0400 ++++ ./deps/openssl/openssl.gyp 2012-11-08 19:57:39.000000000 -0500 +@@ -3,6 +3,11 @@ + # found in the LICENSE file. + + { ++ 'variables': { ++ 'is_clang': 0, ++ 'gcc_version': 0, ++ }, ++ + 'targets': [ + { + 'target_name': 'openssl', +@@ -674,10 +679,10 @@ + 'OPENSSLDIR="/etc/ssl"', + 'TERMIOS', + ], +- 'cflags': [ +- '-Wno-missing-field-initializers', +- '-Wno-old-style-declaration', +- ], ++ 'cflags': ['-Wno-missing-field-initializers'], ++ }], ++ ['is_clang==1 or gcc_version>=43', { ++ 'cflags': ['-Wno-old-style-declaration'], + }], + ['OS=="solaris"', { + 'defines': ['__EXTENSIONS__'], |