From fe4fd0402b81c9558f2ed659f5b22576e13b697f Mon Sep 17 00:00:00 2001 From: decke Date: Thu, 19 Mar 2015 09:52:24 +0000 Subject: Add workaround for GCC build failure on 9.x taken from multimedia/libvpx Reported by: package builder --- multimedia/libdvbcsa/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/multimedia/libdvbcsa/Makefile b/multimedia/libdvbcsa/Makefile index e1e80286c83..6327465c50d 100644 --- a/multimedia/libdvbcsa/Makefile +++ b/multimedia/libdvbcsa/Makefile @@ -18,6 +18,14 @@ INSTALL_TARGET= install-strip USES= libtool USE_LDCONFIG= yes +.include + +# Workaround for GCC in 9.x post r260075 +# OSVERSION taken from r260135, the closest OSVERSION +.if ${OSVERSION} > 902505 && ${OSVERSION} < 1000000 +CFLAGS+= -flax-vector-conversions +.endif + .if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2} CONFIGURE_ARGS+=--enable-sse2 .elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} -- cgit