head 1.2; access; symbols pkgsrc-2019Q2:1.1.0.6 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.4 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.2 pkgsrc-2018Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2019.08.21.13.35.29; author nia; state dead; branches; next 1.1; commitid QbuTYFguNT3eMTzB; 1.1 date 2018.10.07.23.49.31; author ryoon; state Exp; branches; next ; commitid BBhwQOLTmS4So5VA; desc @@ 1.2 log @Move graphics/MesaLib18 to graphics/MesaLib. Move graphics/MesaLib to graphics/MesaLib11. @ text @$NetBSD: patch-src_gallium_state__trackers_clover_util_range.hpp,v 1.1 2018/10/07 23:49:31 ryoon Exp $ From FreeBSD ports for mesa 17.1.10: From b95533b981af9a6687b41418e7cc2a5652fc2bdb Mon Sep 17 00:00:00 2001 Date: Fri, 7 Mar 2014 15:16:08 +0100 Subject: [PATCH 3/3] Work around for clang 3.4 which fails to build Clover See: https://bugs.freedesktop.org/show_bug.cgi?id=74098#c3 --- src/gallium/state_trackers/clover/util/range.hpp.orig 2017-09-25 16:56:19.000000000 +0000 +++ src/gallium/state_trackers/clover/util/range.hpp @@@@ -362,6 +362,14 @@@@ namespace clover { return { i, i + n }; } +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) + namespace detail { + template + using fixup_function_type = + typename std::conditional::value, T &, T>::type; + } +#endif + /// /// Create a range by transforming the contents of a number of /// source ranges \a rs element-wise using a provided functor \a f. @@@@ -369,7 +377,11 @@@@ namespace clover { /// \sa adaptor_range. /// template +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) + adaptor_range, Rs...> +#else adaptor_range +#endif map(F &&f, Rs &&... rs) { return { std::forward(f), std::forward(rs)... }; } @ 1.1 log @graphics/MesaLib18: import MesaLib-18.2.0 from wip/MesaLib MesaLib is a 3-D graphics library with an API which is very similar to that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or state machine, it is being used with authorization from Silicon Graphics, Inc. However, the author makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with Silicon Graphics, Inc. @ text @d1 1 a1 1 $NetBSD$ @