From owner-svn-ports-all@freebsd.org Sun Feb 18 10:06:57 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43D01F23799; Sun, 18 Feb 2018 10:06:57 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC1F36F2D3; Sun, 18 Feb 2018 10:06:56 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D39AC2518; Sun, 18 Feb 2018 10:06:56 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1IA6uRU054348; Sun, 18 Feb 2018 10:06:56 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1IA6ue7054347; Sun, 18 Feb 2018 10:06:56 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201802181006.w1IA6ue7054347@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Sun, 18 Feb 2018 10:06:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462216 - head/multimedia/qt4-mobility X-SVN-Group: ports-head X-SVN-Commit-Author: rakuco X-SVN-Commit-Paths: head/multimedia/qt4-mobility X-SVN-Commit-Revision: 462216 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 10:06:57 -0000 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