Hi,

xine-lib is broken in the current macppc diff:

> ppcasm_string.S:46:15: error: unsupported directive '.stabs'
>        .stabs "src/xine-utils",100,0,0,.

Disabling the integrated assembler fixes the build [0], Xine's runtime
is fine as well.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/macppc/paths/multimedia/xine-lib.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/xine-lib/Makefile,v
retrieving revision 1.145
diff -u -p -u -p -r1.145 Makefile
--- Makefile    20 Mar 2020 16:44:25 -0000      1.145
+++ Makefile    25 Apr 2020 17:42:40 -0000
@@ -94,6 +94,11 @@ CONFIGURE_ENV=       CPPFLAGS="-I${X11BASE}/in
 
 NO_TEST=       Yes
 
+# Clang's integrated assembler does not support the '.stabs' directive
+.if ${MACHINE_ARCH:Mpowerpc}
+CFLAGS+=       -fno-integrated-as
+.endif
+
 pre-configure:
        sed -i 's/__u32/u_int32_t/' ${WRKSRC}/src/input/input_pvr.c
 

Reply via email to