Index: head/graphics/mesa-devel/files/patch-src_compiler_spirv_spirv__to__nir.c =================================================================== --- head/graphics/mesa-devel/files/patch-src_compiler_spirv_spirv__to__nir.c (nonexistent) +++ head/graphics/mesa-devel/files/patch-src_compiler_spirv_spirv__to__nir.c (revision 552871) @@ -0,0 +1,24 @@ +--- src/compiler/spirv/spirv_to_nir.c.orig 2020-10-21 16:03:29.994285000 +0200 ++++ src/compiler/spirv/spirv_to_nir.c 2020-10-21 18:45:12.746719000 +0200 +@@ -37,8 +37,12 @@ + + #include + #if UTIL_ARCH_BIG_ENDIAN ++#ifdef __linux__ + #include ++#elif defined(__FreeBSD__) ++#include + #endif ++#endif + + void + vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level, +@@ -415,7 +419,7 @@ + { + uint32_t *copy = ralloc_array(b, uint32_t, word_count); + for (unsigned i = 0; i < word_count; i++) +- copy[i] = bswap_32(words[i]); ++ copy[i] = bswap32(words[i]); + words = copy; + } + #endif Property changes on: head/graphics/mesa-devel/files/patch-src_compiler_spirv_spirv__to__nir.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property