diff --git a/srcpkgs/libde265/patches/asm-neon-execstack.patch b/srcpkgs/libde265/patches/asm-neon-execstack.patch new file mode 100644 index 00000000000..e324a045d33 --- /dev/null +++ b/srcpkgs/libde265/patches/asm-neon-execstack.patch @@ -0,0 +1,34 @@ +From 58b8efbec706cfe9d57ed0404eb71beedc7d1af8 Mon Sep 17 00:00:00 2001 +From: oreo639 +Date: Tue, 29 Jul 2025 23:41:37 -0700 +Subject: [PATCH] remove asm.S and neon.S from _SOURCES + +Previously asm.S and neon.S were getting assembled into object files and linked. +While for asm.S, this doesn't cause any problems, neon.S never ends up including +a .note.GNU-stack section resulting in the final library being marked as +requiring executable stack. + +These files just define macros used by cpudetect.S and hevcdsp_qpel_neon.S so +them getting assembled and linked individually doesn't seem intended. +--- + libde265/arm/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/libde265/arm/Makefile.am b/libde265/arm/Makefile.am +index 9ef62d98d..819ccf20e 100644 +--- a/libde265/arm/Makefile.am ++++ b/libde265/arm/Makefile.am +@@ -26,10 +26,10 @@ if ENABLE_ARM_THUMB + endif + + libde265_arm_neon_la_SOURCES = \ +- asm.S \ + cpudetect.S \ +- hevcdsp_qpel_neon.S \ +- neon.S ++ hevcdsp_qpel_neon.S ++ ++EXTRA_DIST = asm.S neon.S + + if HAVE_VISIBILITY + libde265_arm_neon_la_CXXFLAGS += -DHAVE_VISIBILITY diff --git a/srcpkgs/libde265/template b/srcpkgs/libde265/template index d09629ae781..1ff31c4c4ca 100644 --- a/srcpkgs/libde265/template +++ b/srcpkgs/libde265/template @@ -1,9 +1,9 @@ # Template file for 'libde265' pkgname=libde265 version=1.0.16 -revision=1 +revision=2 build_style=gnu-configure -hostmakedepends="pkg-config" +hostmakedepends="pkg-config automake" short_desc="Open h.265 video codec implementation" maintainer="Orphaned " license="LGPL-3.0-or-later"