From owner-svn-ports-all@freebsd.org Sat Sep 3 11:45:43 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54461BCEBF3; Sat, 3 Sep 2016 11:45:43 +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 mx1.freebsd.org (Postfix) with ESMTPS id 243F56CC; Sat, 3 Sep 2016 11:45:43 +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 u83BjgJp035447; Sat, 3 Sep 2016 11:45:42 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u83Bjgjj035446; Sat, 3 Sep 2016 11:45:42 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201609031145.u83Bjgjj035446@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Sat, 3 Sep 2016 11:45:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421293 - head/net-im/libqtelegram-ae X-SVN-Group: ports-head 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.22 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: Sat, 03 Sep 2016 11:45:43 -0000 Author: rakuco Date: Sat Sep 3 11:45:42 2016 New Revision: 421293 URL: https://svnweb.freebsd.org/changeset/ports/421293 Log: Explicitly disable C++11 during the build. Prepare for Qt 5.6, which will pass -std=gnu++11 by default when the compiler supports it, and the build currently does not work: ../libqtelegram-aseman-edition-6.1-stable/telegram/types/accountdaysttl.cpp:51:10: error: case value evaluates to 3100684255, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case typeAccountDaysTTL: { Note that Qt 5.7 will start requiring C++11 support, so this will need to be fixed properly in the future. PR: 211916 Modified: head/net-im/libqtelegram-ae/Makefile Modified: head/net-im/libqtelegram-ae/Makefile ============================================================================== --- head/net-im/libqtelegram-ae/Makefile Sat Sep 3 10:35:37 2016 (r421292) +++ head/net-im/libqtelegram-ae/Makefile Sat Sep 3 11:45:42 2016 (r421293) @@ -22,6 +22,12 @@ USE_QT5= qmake_build buildtools_build co USE_OPENSSL= yes USE_LDCONFIG= yes +# Explicitly disable C++11, as Qt 5.6 defaults to -std=gnu++11 when the +# compiler supports it and the build currently fails. +# ../libqtelegram-aseman-edition-6.1-stable/telegram/types/accountdaysttl.cpp:51:10: error: case value evaluates to 3100684255, which cannot be narrowed to type 'int' [-Wc++11-narrowing] +# case typeAccountDaysTTL: { +QMAKE_ARGS= CONFIG-="c++11" + post-patch: @${REINPLACE_CMD} -e "/OPENSSL_INCLUDE_PATH/d" \ ${WRKSRC}/libqtelegram-ae.pri