Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2012 01:13:51 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307220 - head/www/node-devel/files
Message-ID:  <201211090113.qA91DpTe064280@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Nov  9 01:13:50 2012
New Revision: 307220
URL: http://svnweb.freebsd.org/changeset/ports/307220

Log:
  - Fix build with base gcc
  
  Reported by:	pointyhat via beat
  Approved by:	portmgr (implicit)
  		makc, avilla (mentors, implicit)
  Obtained from:	https://github.com/joyent/node/issues/4186
  Feature safe:	yes

Added:
  head/www/node-devel/files/patch-deps__openssl__openssl.gyp   (contents, props changed)

Added: head/www/node-devel/files/patch-deps__openssl__openssl.gyp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/node-devel/files/patch-deps__openssl__openssl.gyp	Fri Nov  9 01:13:50 2012	(r307220)
@@ -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__'],



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211090113.qA91DpTe064280>