Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2017 07:58:31 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449238 - head/lang/tcl86/files
Message-ID:  <201709040758.v847wVCT051794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+     }
+ 



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