pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/MesaLib



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.

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)
+ {



Home | Main Index | Thread Index | Old Index