From owner-svn-ports-all@FreeBSD.ORG Sat Nov 10 13:36:36 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF615D3E; Sat, 10 Nov 2012 13:36:36 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 87D2B8FC0A; Sat, 10 Nov 2012 13:36:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAADaaSj020427; Sat, 10 Nov 2012 13:36:36 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAADaapU020426; Sat, 10 Nov 2012 13:36:36 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201211101336.qAADaapU020426@svn.freebsd.org> From: "Jason E. Hale" Date: Sat, 10 Nov 2012 13:36:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r307277 - branches/RELENG_9_1_0/www/node-devel/files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 13:36:37 -0000 Author: jhale Date: Sat Nov 10 13:36:36 2012 New Revision: 307277 URL: http://svnweb.freebsd.org/changeset/ports/307277 Log: MFH r307220 - Fix build with base gcc Reported by: pointyhat via beat Approved by: portmgr (tabthorpe) makc, avilla (mentors, implicit) Obtained from: https://github.com/joyent/node/issues/4186 Feature safe: yes Added: branches/RELENG_9_1_0/www/node-devel/files/patch-deps__openssl__openssl.gyp - copied unchanged from r307220, head/www/node-devel/files/patch-deps__openssl__openssl.gyp Modified: Directory Properties: branches/RELENG_9_1_0/ (props changed) Copied: branches/RELENG_9_1_0/www/node-devel/files/patch-deps__openssl__openssl.gyp (from r307220, head/www/node-devel/files/patch-deps__openssl__openssl.gyp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_1_0/www/node-devel/files/patch-deps__openssl__openssl.gyp Sat Nov 10 13:36:36 2012 (r307277, copy of r307220, head/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__'],