From owner-svn-ports-all@freebsd.org Sat Feb 11 19:21:30 2017 Return-Path: Delivered-To: svn-ports-all@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 58406CDBBB8; Sat, 11 Feb 2017 19:21:30 +0000 (UTC) (envelope-from antoine@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 17E2BA9E; Sat, 11 Feb 2017 19:21:30 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1BJLTdr028414; Sat, 11 Feb 2017 19:21:29 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1BJLST4028408; Sat, 11 Feb 2017 19:21:28 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201702111921.v1BJLST4028408@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 11 Feb 2017 19:21:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433904 - in head/devel: llvm38 llvm38/files llvm39 llvm39/files llvm40 llvm40/files X-SVN-Group: ports-head 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.23 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, 11 Feb 2017 19:21:30 -0000 Author: antoine Date: Sat Feb 11 19:21:28 2017 New Revision: 433904 URL: https://svnweb.freebsd.org/changeset/ports/433904 Log: Apply upstream r294806, remove struct_rtentry_sz on FreeBSD This should fix build on head after _WANT_RTENTRY removal Added: head/devel/llvm38/files/compiler-rt-patch-svn-294806 (contents, props changed) head/devel/llvm39/files/compiler-rt-patch-svn-294806 (contents, props changed) head/devel/llvm40/files/compiler-rt-patch-svn-294806 (contents, props changed) Modified: head/devel/llvm38/Makefile head/devel/llvm39/Makefile head/devel/llvm40/Makefile Modified: head/devel/llvm38/Makefile ============================================================================== --- head/devel/llvm38/Makefile Sat Feb 11 19:05:24 2017 (r433903) +++ head/devel/llvm38/Makefile Sat Feb 11 19:21:28 2017 (r433904) @@ -304,6 +304,7 @@ post-patch: post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-261229 + cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-294806 .if ${ARCH} == "amd64" cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-no-m32 .endif Added: head/devel/llvm38/files/compiler-rt-patch-svn-294806 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm38/files/compiler-rt-patch-svn-294806 Sat Feb 11 19:21:28 2017 (r433904) @@ -0,0 +1,30 @@ +--- lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig 2016-06-01 08:17:03 UTC ++++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc +@@ -23,11 +23,6 @@ + #ifdef _FILE_OFFSET_BITS + #undef _FILE_OFFSET_BITS + #endif +-#if SANITIZER_FREEBSD +-#define _WANT_RTENTRY +-#include +-#include +-#endif + #include + #include + #include +@@ -417,6 +412,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_input_absinfo_sz = sizeof(struct input_absinfo); + unsigned struct_input_id_sz = sizeof(struct input_id); + unsigned struct_mtpos_sz = sizeof(struct mtpos); ++ unsigned struct_rtentry_sz = sizeof(struct rtentry); + unsigned struct_termio_sz = sizeof(struct termio); + unsigned struct_vt_consize_sz = sizeof(struct vt_consize); + unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes); +@@ -436,7 +432,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_midi_info_sz = sizeof(struct midi_info); + unsigned struct_mtget_sz = sizeof(struct mtget); + unsigned struct_mtop_sz = sizeof(struct mtop); +- unsigned struct_rtentry_sz = sizeof(struct rtentry); + unsigned struct_sbi_instrument_sz = sizeof(struct sbi_instrument); + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); Modified: head/devel/llvm39/Makefile ============================================================================== --- head/devel/llvm39/Makefile Sat Feb 11 19:05:24 2017 (r433903) +++ head/devel/llvm39/Makefile Sat Feb 11 19:21:28 2017 (r433904) @@ -314,6 +314,9 @@ post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp +post-patch-COMPILER_RT-on: + cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-294806 + post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ Added: head/devel/llvm39/files/compiler-rt-patch-svn-294806 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm39/files/compiler-rt-patch-svn-294806 Sat Feb 11 19:21:28 2017 (r433904) @@ -0,0 +1,30 @@ +--- lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig 2016-04-26 10:41:30 UTC ++++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc +@@ -23,11 +23,6 @@ + #ifdef _FILE_OFFSET_BITS + #undef _FILE_OFFSET_BITS + #endif +-#if SANITIZER_FREEBSD +-#define _WANT_RTENTRY +-#include +-#include +-#endif + #include + #include + #include +@@ -422,6 +417,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_input_absinfo_sz = sizeof(struct input_absinfo); + unsigned struct_input_id_sz = sizeof(struct input_id); + unsigned struct_mtpos_sz = sizeof(struct mtpos); ++ unsigned struct_rtentry_sz = sizeof(struct rtentry); + unsigned struct_termio_sz = sizeof(struct termio); + unsigned struct_vt_consize_sz = sizeof(struct vt_consize); + unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes); +@@ -441,7 +437,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_midi_info_sz = sizeof(struct midi_info); + unsigned struct_mtget_sz = sizeof(struct mtget); + unsigned struct_mtop_sz = sizeof(struct mtop); +- unsigned struct_rtentry_sz = sizeof(struct rtentry); + unsigned struct_sbi_instrument_sz = sizeof(struct sbi_instrument); + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); Modified: head/devel/llvm40/Makefile ============================================================================== --- head/devel/llvm40/Makefile Sat Feb 11 19:05:24 2017 (r433903) +++ head/devel/llvm40/Makefile Sat Feb 11 19:21:28 2017 (r433904) @@ -328,6 +328,9 @@ post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp +post-patch-COMPILER_RT-on: + cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-294806 + post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ Added: head/devel/llvm40/files/compiler-rt-patch-svn-294806 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm40/files/compiler-rt-patch-svn-294806 Sat Feb 11 19:21:28 2017 (r433904) @@ -0,0 +1,30 @@ +--- lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig 2016-12-20 07:58:49 UTC ++++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc +@@ -23,11 +23,6 @@ + #ifdef _FILE_OFFSET_BITS + #undef _FILE_OFFSET_BITS + #endif +-#if SANITIZER_FREEBSD +-#define _WANT_RTENTRY +-#include +-#include +-#endif + #include + #include + #include +@@ -433,6 +428,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_input_absinfo_sz = sizeof(struct input_absinfo); + unsigned struct_input_id_sz = sizeof(struct input_id); + unsigned struct_mtpos_sz = sizeof(struct mtpos); ++ unsigned struct_rtentry_sz = sizeof(struct rtentry); + unsigned struct_termio_sz = sizeof(struct termio); + unsigned struct_vt_consize_sz = sizeof(struct vt_consize); + unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes); +@@ -452,7 +448,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_midi_info_sz = sizeof(struct midi_info); + unsigned struct_mtget_sz = sizeof(struct mtget); + unsigned struct_mtop_sz = sizeof(struct mtop); +- unsigned struct_rtentry_sz = sizeof(struct rtentry); + unsigned struct_sbi_instrument_sz = sizeof(struct sbi_instrument); + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info);