Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 09:52:24 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381597 - head/multimedia/libdvbcsa
Message-ID:  <201503190952.t2J9qON0049808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503190952.t2J9qON0049808>