Skip to content

Commit 41866cc

Browse files
TinfoilSubmarineoreo639
authored andcommitted
libde265: patch to fix getting marked as execstack
1 parent d3d8ce1 commit 41866cc

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
From 58b8efbec706cfe9d57ed0404eb71beedc7d1af8 Mon Sep 17 00:00:00 2001
2+
From: oreo639 <[email protected]>
3+
Date: Tue, 29 Jul 2025 23:41:37 -0700
4+
Subject: [PATCH] remove asm.S and neon.S from _SOURCES
5+
6+
Previously asm.S and neon.S were getting assembled into object files and linked.
7+
While for asm.S, this doesn't cause any problems, neon.S never ends up including
8+
a .note.GNU-stack section resulting in the final library being marked as
9+
requiring executable stack.
10+
11+
These files just define macros used by cpudetect.S and hevcdsp_qpel_neon.S so
12+
them getting assembled and linked individually doesn't seem intended.
13+
---
14+
libde265/arm/Makefile.am | 6 +++---
15+
1 file changed, 3 insertions(+), 3 deletions(-)
16+
17+
diff --git a/libde265/arm/Makefile.am b/libde265/arm/Makefile.am
18+
index 9ef62d98d..819ccf20e 100644
19+
--- a/libde265/arm/Makefile.am
20+
+++ b/libde265/arm/Makefile.am
21+
@@ -26,10 +26,10 @@ if ENABLE_ARM_THUMB
22+
endif
23+
24+
libde265_arm_neon_la_SOURCES = \
25+
- asm.S \
26+
cpudetect.S \
27+
- hevcdsp_qpel_neon.S \
28+
- neon.S
29+
+ hevcdsp_qpel_neon.S
30+
+
31+
+EXTRA_DIST = asm.S neon.S
32+
33+
if HAVE_VISIBILITY
34+
libde265_arm_neon_la_CXXFLAGS += -DHAVE_VISIBILITY

srcpkgs/libde265/template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Template file for 'libde265'
22
pkgname=libde265
33
version=1.0.16
4-
revision=1
4+
revision=2
55
build_style=gnu-configure
6-
hostmakedepends="pkg-config"
6+
hostmakedepends="pkg-config automake"
77
short_desc="Open h.265 video codec implementation"
88
maintainer="Orphaned <[email protected]>"
99
license="LGPL-3.0-or-later"

0 commit comments

Comments
 (0)