From 9ff7be88146aee0956e2cf0b728384f2e3ab5eef Mon Sep 17 00:00:00 2001 From: cwen Date: Mon, 27 Apr 2020 20:00:11 +0000 Subject: [PATCH] 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) --- .../patch-src_xine-utils_ppcasm_string_S | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 multimedia/xine-lib/patches/patch-src_xine-utils_ppcasm_string_S diff --git a/multimedia/xine-lib/patches/patch-src_xine-utils_ppcasm_string_S b/multimedia/xine-lib/patches/patch-src_xine-utils_ppcasm_string_S new file mode 100644 index 00000000000..0110c72fae3 --- /dev/null +++ b/multimedia/xine-lib/patches/patch-src_xine-utils_ppcasm_string_S @@ -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