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_llvm_metadata.hpp,v 1.1 2018/10/07 23:49:31 ryoon Exp $ From FreeBSD ports graphics/libGL mesa 13.0.5 # Fix error: no matching constructor for initialization of 'std::vector' # --- src/gallium/state_trackers/clover/llvm/metadata.hpp.orig 2017-02-13 11:55:49.000000000 +0000 +++ src/gallium/state_trackers/clover/llvm/metadata.hpp @@@@ -42,7 +42,11 @@@@ namespace clover { get_kernel_nodes(const ::llvm::Module &mod) { if (const ::llvm::NamedMDNode *n = mod.getNamedMetadata("opencl.kernels")) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) + return { n->getOperand(0), n->getOperand(n->getNumOperands()) }; +#else return { n->op_begin(), n->op_end() }; +#endif else return {}; } @ 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$ @