Received: by mail.netbsd.org (Postfix, from userid 605) id AC45884D66; Fri, 29 Nov 2019 10:34:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 36C6084CE7 for ; Fri, 29 Nov 2019 10:34:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 6U56bjyw6kcN for ; Fri, 29 Nov 2019 10:34:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AC0BA84C2B for ; Fri, 29 Nov 2019 10:34:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A5C37FA97; Fri, 29 Nov 2019 10:34:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1575023653187790" MIME-Version: 1.0 Date: Fri, 29 Nov 2019 10:34:13 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/graphics/MesaLib To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20191129103413.A5C37FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1575023653187790 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Fri Nov 29 10:34:13 UTC 2019 Modified Files: pkgsrc/graphics/MesaLib: distinfo Added Files: pkgsrc/graphics/MesaLib/patches: patch-include_c11_threads__posix.h Log Message: MesaLib: Work around timespec_get configure test issue on Darwin. The meson configure test reports success, even when providing it with clearly bogus values (like compiling with -std=c89 even though the headers limit the visibility of timespec_get to >= c11), so just always use the compat version. To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 pkgsrc/graphics/MesaLib/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/graphics/MesaLib/patches/patch-include_c11_threads__posix.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1575023653187790 Content-Disposition: inline Content-Length: 2084 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/MesaLib/distinfo diff -u pkgsrc/graphics/MesaLib/distinfo:1.143 pkgsrc/graphics/MesaLib/distinfo:1.144 --- pkgsrc/graphics/MesaLib/distinfo:1.143 Thu Nov 28 14:35:07 2019 +++ pkgsrc/graphics/MesaLib/distinfo Fri Nov 29 10:34:13 2019 @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.143 2019/11/28 14:35:07 jperkin Exp $ +$NetBSD: distinfo,v 1.144 2019/11/29 10:34:13 jperkin Exp $ SHA1 (mesa-19.2.4.tar.xz) = 85cc1b57840f14d720f806f8160356b8c9b13a7f RMD160 (mesa-19.2.4.tar.xz) = f2c7d454fb67cc27bf28de3ea4f5c85979523e96 SHA512 (mesa-19.2.4.tar.xz) = e8a0e90460f3153d730f8fb13f2c912a9826c05d2af9e22dc575bcd8885bf6a33c0af1c6659e81701ff097a132df88eead208e89dceb552b9da809ab543fa479 Size (mesa-19.2.4.tar.xz) = 11458340 bytes +SHA1 (patch-include_c11_threads__posix.h) = e1dca04b5c514d20123ef99338c6dabedbc14c5f SHA1 (patch-src_amd_common_ac__debug.c) = 8233367c3b5bc344442ea8d19488fdd1e3791ae9 SHA1 (patch-src_compiler_builtin__type__macros.h) = e4868011711fb89a293580a12eb603b8e7162336 SHA1 (patch-src_compiler_glsl_glsl__parser__extras.cpp) = ef114d6e288e6d212fce9d1c0606f7d454a171c4 Added files: Index: pkgsrc/graphics/MesaLib/patches/patch-include_c11_threads__posix.h diff -u /dev/null pkgsrc/graphics/MesaLib/patches/patch-include_c11_threads__posix.h:1.1 --- /dev/null Fri Nov 29 10:34:13 2019 +++ pkgsrc/graphics/MesaLib/patches/patch-include_c11_threads__posix.h Fri Nov 29 10:34:13 2019 @@ -0,0 +1,17 @@ +$NetBSD: patch-include_c11_threads__posix.h,v 1.1 2019/11/29 10:34:13 jperkin Exp $ + +Use compat version of timespec_get regardless on Darwin. The +meson configure test completes successfully even with clearly +bogus values. + +--- include/c11/threads_posix.h.orig 2019-11-22 00:06:57.000000000 +0000 ++++ include/c11/threads_posix.h +@@ -382,7 +382,7 @@ tss_set(tss_t key, void *val) + + /*-------------------- 7.25.7 Time functions --------------------*/ + // 7.25.6.1 +-#ifndef HAVE_TIMESPEC_GET ++#if !defined(HAVE_TIMESPEC_GET) || defined(__APPLE__) + static inline int + timespec_get(struct timespec *ts, int base) + { --_----------=_1575023653187790--