svn commit: r381597 - head/multimedia/libdvbcsa

Bernhard Froehlich decke at FreeBSD.org
Thu Mar 19 09:52:25 UTC 2015


Author: decke
Date: Thu Mar 19 09:52:24 2015
New Revision: 381597
URL: https://svnweb.freebsd.org/changeset/ports/381597
QAT: https://qat.redports.org/buildarchive/r381597/

Log:
  Add workaround for GCC build failure on 9.x taken from
  multimedia/libvpx
  
  Reported by:	package builder

Modified:
  head/multimedia/libdvbcsa/Makefile

Modified: head/multimedia/libdvbcsa/Makefile
==============================================================================
--- head/multimedia/libdvbcsa/Makefile	Thu Mar 19 09:48:04 2015	(r381596)
+++ head/multimedia/libdvbcsa/Makefile	Thu Mar 19 09:52:24 2015	(r381597)
@@ -18,6 +18,14 @@ INSTALL_TARGET=	install-strip
 USES=		libtool
 USE_LDCONFIG=	yes
 
+.include <bsd.port.options.mk>
+
+# 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}


More information about the svn-ports-head mailing list