diff --git a/devel/rubygem-oj/Makefile b/devel/rubygem-oj/Makefile index 2a2c1806cf5c..57ef280182b3 100644 --- a/devel/rubygem-oj/Makefile +++ b/devel/rubygem-oj/Makefile @@ -1,24 +1,25 @@ PORTNAME= oj -PORTVERSION= 3.16.13 +PORTVERSION= 3.16.15 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast JSON parser and serializer -WWW= https://www.ohler.com/oj/ +WWW= https://www.ohler.com/oj/ \ + https://github.com/ohler55/oj LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-bigdecimal>=3.0:math/rubygem-bigdecimal \ rubygem-ostruct>=0.2:devel/rubygem-ostruct USES= gem # TODO: find a better way to do this # Install all header files, some of them are required by devel/rubygem-oj-introspect post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext/oj ${INSTALL_DATA} ${WRKSRC}/ext/oj/*.h ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext/oj/ .include diff --git a/devel/rubygem-oj/distinfo b/devel/rubygem-oj/distinfo index 31e37afa92d1..4140ba9e3d3a 100644 --- a/devel/rubygem-oj/distinfo +++ b/devel/rubygem-oj/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1765032954 -SHA256 (rubygem/oj-3.16.13.gem) = b114bcb83ef884f1736b3112108f77cf9ca90aa8111a775318cc5d7a6a1e0303 -SIZE (rubygem/oj-3.16.13.gem) = 196608 +TIMESTAMP = 1771421932 +SHA256 (rubygem/oj-3.16.15.gem) = 4d3324cac3e8fef54c0fa250b2af26a16dadd9f9788a1d6b1b2098b793a1b2cd +SIZE (rubygem/oj-3.16.15.gem) = 200192 diff --git a/devel/rubygem-oj/files/patch-armv7 b/devel/rubygem-oj/files/patch-armv7 index 47446482c613..27b1133c542a 100644 --- a/devel/rubygem-oj/files/patch-armv7 +++ b/devel/rubygem-oj/files/patch-armv7 @@ -1,11 +1,11 @@ ---- ext/oj/simd.h.orig 2025-12-06 21:39:02 UTC +--- ext/oj/simd.h.orig 2026-02-18 19:46:57 UTC +++ ext/oj/simd.h -@@ -24,7 +24,7 @@ - #endif // x86/x86_64 - +@@ -117,7 +117,7 @@ static inline int oj_ctz_fallback(unsigned int x) { + // ============================================================================= // ARM NEON detection + // ============================================================================= -#if defined(__ARM_NEON) || defined(__ARM_NEON__) || defined(__aarch64__) || defined(_M_ARM64) +#if (defined(__ARM_NEON) || defined(__ARM_NEON__)) && (defined(__aarch64__) || defined(_M_ARM64)) #define HAVE_SIMD_NEON 1 #define SIMD_MINIMUM_THRESHOLD 6 #include