pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/tcl
Module Name: pkgsrc
Committed By: taca
Date: Wed Sep 27 02:53:43 UTC 2017
Modified Files:
pkgsrc/lang/tcl: distinfo
Added Files:
pkgsrc/lang/tcl/patches: patch-unix_tclUnixSock.c
Log Message:
lang/tcl: build fix on NetBSD 6
Build fix on NetBSD 6 applying upstream update.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 pkgsrc/lang/tcl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/tcl/patches/patch-unix_tclUnixSock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/tcl/distinfo
diff -u pkgsrc/lang/tcl/distinfo:1.74 pkgsrc/lang/tcl/distinfo:1.75
--- pkgsrc/lang/tcl/distinfo:1.74 Fri Aug 25 11:05:33 2017
+++ pkgsrc/lang/tcl/distinfo Wed Sep 27 02:53:43 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.74 2017/08/25 11:05:33 adam Exp $
+$NetBSD: distinfo,v 1.75 2017/09/27 02:53:43 taca Exp $
SHA1 (tcl8.6.7-src.tar.gz) = 68934c6ecf827348085e0f06c7396b31fb539d83
RMD160 (tcl8.6.7-src.tar.gz) = 5f114bbd95c7208f929fe9ddb3432636d376844c
@@ -24,3 +24,4 @@ SHA1 (patch-unix_tclUnixCompat.c) = 7ffa
SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f
SHA1 (patch-unix_tclUnixInit.c) = 50eafafdd10e35266f9fe5b73a80e7b50f393f88
SHA1 (patch-unix_tclUnixPort.h) = f7d2e7b8912b9bff1709ac2c34aee1f4725e90ac
+SHA1 (patch-unix_tclUnixSock.c) = 77c09de2786ec5f8c4a5ab4004acf5172fa1fe3b
Added files:
Index: pkgsrc/lang/tcl/patches/patch-unix_tclUnixSock.c
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-unix_tclUnixSock.c:1.1
--- /dev/null Wed Sep 27 02:53:43 2017
+++ pkgsrc/lang/tcl/patches/patch-unix_tclUnixSock.c Wed Sep 27 02:53:43 2017
@@ -0,0 +1,34 @@
+$NetBSD: patch-unix_tclUnixSock.c,v 1.1 2017/09/27 02:53:43 taca Exp $
+
+* Move pragmas to make gcc happy;
+ http://core.tcl.tk/tcl/vinfo/dce77b1b201e9329
+
+--- unix/tclUnixSock.c.orig 2017-04-28 18:05:52.000000000 +0000
++++ unix/tclUnixSock.c
+@@ -700,6 +700,8 @@ TcpClose2Proc(
+ */
+
+ #ifndef NEED_FAKE_RFC2553
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+ static inline int
+ IPv6AddressNeedsNumericRendering(
+ struct in6_addr addr)
+@@ -713,16 +715,14 @@ IPv6AddressNeedsNumericRendering(
+ * at least some versions of OSX.
+ */
+
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+ if (!IN6_IS_ADDR_V4MAPPED(&addr)) {
+-#pragma GCC diagnostic pop
+ return 0;
+ }
+
+ return (addr.s6_addr[12] == 0 && addr.s6_addr[13] == 0
+ && addr.s6_addr[14] == 0 && addr.s6_addr[15] == 0);
+ }
++#pragma GCC diagnostic pop
+ #endif /* NEED_FAKE_RFC2553 */
+
+ static void
Home |
Main Index |
Thread Index |
Old Index