multimedia/libxine: Fix binutils 2.39 regression

Fix build under 2.39.

PR:		265917
Obtained from:	https://www.linuxquestions.org/questions/slackware-14/\
		regression-on-current-with-xine-lib-4175715727/
This commit is contained in:
Cy Schubert 2022-10-24 21:12:09 -07:00
parent 1d2e6d5c44
commit eab31cc222

View File

@ -170,6 +170,8 @@ pre-configure-GNUTLS-off:
${WRKSRC}/configure
post-patch:
@${REINPLACE_CMD} -e '/xine_set_flags/s/XINE_PROTECTED//' \
${WRKSRC}/include/xine.h
.if ${COMPILER_TYPE} == "clang"
@${REINPLACE_CMD} -e 's|-fno-rename-registers||' \
${WRKSRC}/src/libw32dll/Makefile.in