pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: remove wrong compat timespec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f338f9f7f880
branches:  trunk
changeset: 456135:f338f9f7f880
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jul 20 19:54:21 2021 +0000

description:
MesaLib: remove wrong compat timespec_get(3) patch for OSX

At least Big Sur and latest xcode has timespec_get(3) in libc, based on
NetBSD & FreeBSD implementation according to the manpage.
This patch causes prototype mismatches. If the configure test misfires on
older OSX please fix the configure test.

diffstat:

 graphics/MesaLib/distinfo                                   |   3 +-
 graphics/MesaLib/patches/patch-include_c11_threads__posix.h |  17 -------------
 2 files changed, 1 insertions(+), 19 deletions(-)

diffs (36 lines):

diff -r df1ea3f60225 -r f338f9f7f880 graphics/MesaLib/distinfo
--- a/graphics/MesaLib/distinfo Tue Jul 20 18:57:18 2021 +0000
+++ b/graphics/MesaLib/distinfo Tue Jul 20 19:54:21 2021 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.157 2021/07/15 14:06:56 schmonz Exp $
+$NetBSD: distinfo,v 1.158 2021/07/20 19:54:21 tnn Exp $
 
 SHA1 (mesa-20.0.6.tar.xz) = 5bf6d97770c7f010db3ea27944cfdcda079d39c8
 RMD160 (mesa-20.0.6.tar.xz) = 00da0ca66f22ce929798ee9ad81456d5fa052837
 SHA512 (mesa-20.0.6.tar.xz) = a93dc3ed57ed7469b7c60cdbdcf4f29c5da4ec3986171c7b534e009e136ca21fec16207ffab38a6747437a9b1060e2e6c4b74c4e5cdc168b9aba0fc1940b5e90
 Size (mesa-20.0.6.tar.xz) = 12275708 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_egl_drivers_dri2_platform__drm.c) = 9230fbae2c04246ebca8437ecad694bbae857fbe
diff -r df1ea3f60225 -r f338f9f7f880 graphics/MesaLib/patches/patch-include_c11_threads__posix.h
--- a/graphics/MesaLib/patches/patch-include_c11_threads__posix.h       Tue Jul 20 18:57:18 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$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)
- {



Home | Main Index | Thread Index | Old Index