mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 11:33:12 +02:00
libde265: patch to fix getting marked as execstack
This commit is contained in:
parent
d3d8ce12d9
commit
41866cc003
2 changed files with 36 additions and 2 deletions
34
srcpkgs/libde265/patches/asm-neon-execstack.patch
Normal file
34
srcpkgs/libde265/patches/asm-neon-execstack.patch
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
From 58b8efbec706cfe9d57ed0404eb71beedc7d1af8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: oreo639 <oreo6391@gmail.com>
|
||||||
|
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
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'libde265'
|
# Template file for 'libde265'
|
||||||
pkgname=libde265
|
pkgname=libde265
|
||||||
version=1.0.16
|
version=1.0.16
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config automake"
|
||||||
short_desc="Open h.265 video codec implementation"
|
short_desc="Open h.265 video codec implementation"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="LGPL-3.0-or-later"
|
license="LGPL-3.0-or-later"
|
||||||
|
|
Loading…
Add table
Reference in a new issue