From owner-svn-ports-head@freebsd.org Mon Sep 4 07:58:33 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2276AE1A7FA; Mon, 4 Sep 2017 07:58:33 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBE8169E3E; Mon, 4 Sep 2017 07:58:32 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v847wVaQ051795; Mon, 4 Sep 2017 07:58:31 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v847wVCT051794; Mon, 4 Sep 2017 07:58:31 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201709040758.v847wVCT051794@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Mon, 4 Sep 2017 07:58:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449238 - head/lang/tcl86/files X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: head/lang/tcl86/files X-SVN-Commit-Revision: 449238 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 07:58:33 -0000 Author: gahr Date: Mon Sep 4 07:58:31 2017 New Revision: 449238 URL: https://svnweb.freebsd.org/changeset/ports/449238 Log: lang/tcl86: fix build with old GCC versions PR: 222034 Submitted by: jhibbits Obtained from: http://core.tcl.tk/tcl/info/ba30aa3b1c7cc2c9 Added: head/lang/tcl86/files/patch-unix-tclUnixSock.c (contents, props changed) Added: head/lang/tcl86/files/patch-unix-tclUnixSock.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/tcl86/files/patch-unix-tclUnixSock.c Mon Sep 4 07:58:31 2017 (r449238) @@ -0,0 +1,17 @@ +--- unix/tclUnixSock.c.orig 2017-09-04 07:52:03 UTC ++++ unix/tclUnixSock.c +@@ -713,10 +713,14 @@ IPv6AddressNeedsNumericRendering( + * at least some versions of OSX. + */ + ++#if defined (__clang__) || ((__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)))) + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" ++#endif + if (!IN6_IS_ADDR_V4MAPPED(&addr)) { ++#if defined (__clang__) || ((__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)))) + #pragma GCC diagnostic pop ++#endif + return 0; + } +