From owner-svn-ports-head@freebsd.org Mon Nov 21 12:27:17 2016 Return-Path: Delivered-To: svn-ports-head@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 29102C475E4; Mon, 21 Nov 2016 12:27:17 +0000 (UTC) (envelope-from jhale@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 EC54E149; Mon, 21 Nov 2016 12:27:16 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uALCRGnb043487; Mon, 21 Nov 2016 12:27:16 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uALCRG2F043486; Mon, 21 Nov 2016 12:27:16 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201611211227.uALCRG2F043486@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Mon, 21 Nov 2016 12:27:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426708 - head/security/gpgme/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2016 12:27:17 -0000 Author: jhale Date: Mon Nov 21 12:27:15 2016 New Revision: 426708 URL: https://svnweb.freebsd.org/changeset/ports/426708 Log: Fix build of security/gpgme-qt5 with gcc49 In file included from qgpgmebackend.cpp:42:0: ../../../lang/cpp/src/engineinfo.h: In constructor 'GpgME::EngineInfo::Version::Version(const string&)': ../../../lang/cpp/src/engineinfo.h:47:17: error: 'sscanf' is not a member of 'std' std::sscanf(version.c_str(), "%d.%d.%d", &major, &minor, &patch) != 3) { PR: 214687 Submitted by: tcberner Added: head/security/gpgme/files/patch-lang_cpp_src_engineinfo.h (contents, props changed) Added: head/security/gpgme/files/patch-lang_cpp_src_engineinfo.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/gpgme/files/patch-lang_cpp_src_engineinfo.h Mon Nov 21 12:27:15 2016 (r426708) @@ -0,0 +1,17 @@ +In file included from qgpgmebackend.cpp:42:0: +../../../lang/cpp/src/engineinfo.h: In constructor 'GpgME::EngineInfo::Version::Version(const string&)': +../../../lang/cpp/src/engineinfo.h:47:17: error: 'sscanf' is not a member of 'std' + std::sscanf(version.c_str(), "%d.%d.%d", &major, &minor, &patch) != 3) { + ^ + + +--- lang/cpp/src/engineinfo.h.orig 2016-11-20 11:59:52 UTC ++++ lang/cpp/src/engineinfo.h +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + namespace GpgME + {