summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2021-07-20 19:54:21 +0000
committertnn <tnn@pkgsrc.org>2021-07-20 19:54:21 +0000
commit16abe3d5a6f4781c281dc77fc3e477b85fd6c00f (patch)
treeed5057064748800a9c75ba8d4d5dae053d37fdbf /graphics
parent67b8db364edc161f8e315db58a82e48e8101bbb8 (diff)
downloadpkgsrc-16abe3d5a6f4781c281dc77fc3e477b85fd6c00f.tar.gz
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 (limited to 'graphics')
-rw-r--r--graphics/MesaLib/distinfo3
-rw-r--r--graphics/MesaLib/patches/patch-include_c11_threads__posix.h17
2 files changed, 1 insertions, 19 deletions
diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo
index a350d28c268..7bbb99b6292 100644
--- a/graphics/MesaLib/distinfo
+++ b/graphics/MesaLib/distinfo
@@ -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 --git a/graphics/MesaLib/patches/patch-include_c11_threads__posix.h b/graphics/MesaLib/patches/patch-include_c11_threads__posix.h
deleted file mode 100644
index 9b61b6ce05d..00000000000
--- a/graphics/MesaLib/patches/patch-include_c11_threads__posix.h
+++ /dev/null
@@ -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)
- {