Found one file that had a little bit of data in .text. With this fix the tests pass.
ok? Index: multimedia/x265/Makefile =================================================================== RCS file: /cvs/ports/multimedia/x265/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- multimedia/x265/Makefile 11 Mar 2022 19:39:29 -0000 1.54 +++ multimedia/x265/Makefile 24 Jan 2023 15:41:10 -0000 @@ -3,7 +3,7 @@ COMMENT= free H.265/HEVC encoder VER= 3.5 DISTNAME= x265_${VER} PKGNAME= x265-${VER} -REVISION= 0 +REVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://bitbucket.org/multicoreware/x265_git/downloads/ Index: multimedia/x265/patches/patch-source_common_x86_h-ipfilter8_asm =================================================================== RCS file: multimedia/x265/patches/patch-source_common_x86_h-ipfilter8_asm diff -N multimedia/x265/patches/patch-source_common_x86_h-ipfilter8_asm --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ multimedia/x265/patches/patch-source_common_x86_h-ipfilter8_asm 24 Jan 2023 15:41:10 -0000 @@ -0,0 +1,23 @@ +Index: source/common/x86/h-ipfilter8.asm +--- source/common/x86/h-ipfilter8.asm.orig ++++ source/common/x86/h-ipfilter8.asm +@@ -125,6 +125,9 @@ const pb_8tap_hps_0, times 2 db 0, 1, 1, 2, 2, 3, 3, 4 + ALIGN 32 + interp4_hps_shuf: times 2 db 0, 1, 2, 3, 1, 2, 3, 4, 8, 9, 10, 11, 9, 10, 11, 12 + ++ALIGN 32 ++const interp_4tap_8x8_horiz_shuf, dd 0, 4, 1, 5, 2, 6, 3, 7 ++ + SECTION .text + + cextern pw_1 +@@ -1458,9 +1461,6 @@ cglobal interp_4tap_horiz_pp_4x32, 4, 6, 5, src, srcst + jnz .loop + + RET +- +-ALIGN 32 +-const interp_4tap_8x8_horiz_shuf, dd 0, 4, 1, 5, 2, 6, 3, 7 + + %macro FILTER_H4_w6 3 + movu %1, [srcq - 1]