svn commit: r462216 - head/multimedia/qt4-mobility
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Feb 18 10:06:57 UTC 2018
Author: rakuco
Date: Sun Feb 18 10:06:56 2018
New Revision: 462216
URL: https://svnweb.freebsd.org/changeset/ports/462216
Log:
Fix the build with clang 6.
There's no point in making old, unmaintained code be C++11 compliant, so just
build with -std=gnu++98.
qvideosurfacegstsink.cpp:345:73: error: constant expression evaluates to 4278190080 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
{ QVideoFrame::Format_RGB32 , 32, 24, 4321, 0x0000FF00, 0x00FF0000, 0xFF000000, 0x00000000 },
^~~~~~~~~~
(and others)
Modified:
head/multimedia/qt4-mobility/Makefile
Modified: head/multimedia/qt4-mobility/Makefile
==============================================================================
--- head/multimedia/qt4-mobility/Makefile Sun Feb 18 09:59:03 2018 (r462215)
+++ head/multimedia/qt4-mobility/Makefile Sun Feb 18 10:06:56 2018 (r462216)
@@ -29,6 +29,8 @@ OPTIONS_DEFINE= BEARER CONNECTIVITY CONTACTS FEEDBACK
SERVICEFRAMEWORK SYSTEMINFO VERSIT
OPTIONS_SUB= yes
+USE_CXXSTD= gnu++98
+
BEARER_DESC= Bearer module
CONNECTIVITY_DESC= Connectivity module
CONNECTIVITY_USE= qt4=rcc_build
More information about the svn-ports-head
mailing list