xine-lib: fix the build with clang on powerpc

Some powerpc-specific assembly code use '.stabs', that clang does not
understand, remove them. Thanks to jca@ and Brad for their help!

OK jca@ and Brad (maintainer)
This commit is contained in:
cwen 2020-04-27 20:00:11 +00:00
parent 3e690e6c02
commit 9ff7be8814

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-src_xine-utils_ppcasm_string_S,v 1.1 2020/04/27 20:00:11 cwen Exp $
Index: src/xine-utils/ppcasm_string.S
--- src/xine-utils/ppcasm_string.S.orig
+++ src/xine-utils/ppcasm_string.S
@@ -32,7 +32,6 @@
#define __stringify(x) __stringify_1(x)
#define _GLOBFN(n)\
- .stabs __stringify(n:F-1),N_FUN,0,0,n;\
.type n,@function; \
.globl n;\
.hidden n;\
@@ -43,8 +42,6 @@ n:
.text
- .stabs "src/xine-utils",N_SO,0,0,.
- .stabs "ppcasm_string.S",N_SO,0,0,.
#warning FIXME: Get cache line sizes from /proc
#define L1_CACHE_LINE_SIZE 32