head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.11.23.10.29.52; author adam; state Exp; branches; next ; commitid iRvtCaPzqXxxxz4H; desc @@ 1.1 log @mesa: added version 26.2.7 The Mesa project began as an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics. Over the years the project has grown to implement more graphics APIs, including OpenGL ES (versions 1, 2, 3), OpenCL, OpenMAX, VDPAU, VA API, XvMC and Vulkan. A variety of device drivers allows the Mesa libraries to be used in many different environments ranging from software emulation to complete hardware acceleration for modern GPUs. @ text @$NetBSD: patch-src_util_build__id.c,v 1.1 2019/08/21 13:35:28 nia Exp $ Patch taken from FreeBSD ports graphics/mesa-dri mesa 17.1.0. # Elf_ doesn't exist, use Elf32_ or Elf64_. --- src/util/build_id.c.orig 2018-09-07 21:18:07.000000000 +0000 +++ src/util/build_id.c @@@@ -35,7 +35,15 @@@@ #endif #ifndef ElfW -#define ElfW(type) Elf_##type +# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +# ifdef __LP64__ +# define ElfW(type) Elf64_##type +# else +# define ElfW(type) Elf32_##type +# endif /* __LP64__ */ +# else +# define ElfW(type) Elf_##type +# endif #endif struct build_id_note { @