diff --git a/graphics/khronos-texture/Makefile b/graphics/khronos-texture/Makefile index d64027bf71e8..749c19354c79 100644 --- a/graphics/khronos-texture/Makefile +++ b/graphics/khronos-texture/Makefile @@ -1,40 +1,40 @@ PORTNAME= khronos-texture DISTVERSIONPREFIX= v DISTVERSION= 4.4.2 CATEGORIES= graphics MAINTAINER= vvd@FreeBSD.org COMMENT= Khronos Texture is a container for textures for OpenGL/Vulkan/etc WWW= https://github.com/KhronosGroup/KTX-Software LICENSE= APACHE20 BUILD_DEPENDS= bash:shells/bash -USES= cmake compiler:c++11-lib python:build +USES= cmake compiler:c++14-lang python:build USE_GITHUB= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= KTX-Software OPTIONS_DEFAULT_aarch64= NEON OPTIONS_DEFAULT_amd64= SSE2 OPTIONS_DEFAULT_OTHER_ARCHS= NONE OPTIONS_SINGLE= SIMD OPTIONS_SINGLE_SIMD= AVX2 NEON NONE SSE2 SSE41 OPTIONS_EXCLUDE= ${${ARCH} != amd64 && ${ARCH} != i386:?AVX2 SSE2 SSE41:} OPTIONS_EXCLUDE+= ${${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != aarch64:?NEON:} AVX2_DESC= Use the AVX2 instruction set NEON_DESC= Use the NEON instruction set NONE_DESC= Don't use any SIMD instructions SSE2_DESC= Use the SSE2 instruction set SSE41_DESC= Use the SSE4.1 instruction set AVX2_CMAKE_ON= -DASTCENC_ISA_AVX2:BOOL=ON -DBASISU_SUPPORT_SSE:BOOL=ON NEON_CMAKE_ON= -DASTCENC_ISA_NEON:BOOL=ON NONE_CMAKE_ON= -DASTCENC_ISA_NONE:BOOL=ON -DBASISU_SUPPORT_SSE:BOOL=OFF SSE2_CMAKE_ON= -DASTCENC_ISA_SSE2:BOOL=ON -DBASISU_SUPPORT_SSE:BOOL=OFF SSE41_CMAKE_ON= -DASTCENC_ISA_SSE41:BOOL=ON -DBASISU_SUPPORT_SSE:BOOL=ON .include diff --git a/graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h b/graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h new file mode 100644 index 000000000000..1b362cc36d87 --- /dev/null +++ b/graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h @@ -0,0 +1,10 @@ +--- external/fmt/include/fmt/format.h.orig 2025-10-04 08:06:54 UTC ++++ external/fmt/include/fmt/format.h +@@ -44,6 +44,7 @@ + # include // std::signbit + # include // std::byte + # include // uint32_t ++# include // malloc/free + # include // std::memcpy + # include // std::numeric_limits + # include // std::bad_alloc