From owner-svn-ports-head@FreeBSD.ORG Thu Sep 19 16:15:30 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DC970BBA; Thu, 19 Sep 2013 16:15:30 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C958328D3; Thu, 19 Sep 2013 16:15:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8JGFUXw072806; Thu, 19 Sep 2013 16:15:30 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8JGFUv2072804; Thu, 19 Sep 2013 16:15:30 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201309191615.r8JGFUv2072804@svn.freebsd.org> From: William Grzybowski Date: Thu, 19 Sep 2013 16:15:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327637 - head/security/yapet/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.14 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: Thu, 19 Sep 2013 16:15:30 -0000 Author: wg Date: Thu Sep 19 16:15:30 2013 New Revision: 327637 URL: http://svnweb.freebsd.org/changeset/ports/327637 Log: security/yapet: fix build on CURRENT - Fix build on CURRENT PR: ports/182211 Submitted by: Rafael Ostertag (maintainer) Added: head/security/yapet/files/patch-ui-basewindow.cc (contents, props changed) head/security/yapet/files/patch-ui-secstring.h (contents, props changed) Added: head/security/yapet/files/patch-ui-basewindow.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/yapet/files/patch-ui-basewindow.cc Thu Sep 19 16:15:30 2013 (r327637) @@ -0,0 +1,13 @@ +--- ui/basewindow.cc.orig 2013-09-17 22:04:34.000000000 +0200 ++++ ui/basewindow.cc 2013-09-17 22:05:18.000000000 +0200 +@@ -33,6 +33,10 @@ + # include + #endif + ++#ifdef HAVE_STDLIB_H ++# include ++#endif ++ + #ifdef HAVE_ALGORITHM + # include + #endif Added: head/security/yapet/files/patch-ui-secstring.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/yapet/files/patch-ui-secstring.h Thu Sep 19 16:15:30 2013 (r327637) @@ -0,0 +1,11 @@ +--- ui/secstring.h.orig 2013-09-18 19:44:08.000000000 +0200 ++++ ui/secstring.h 2013-09-18 19:44:30.000000000 +0200 +@@ -61,7 +61,7 @@ + public: + void deallocate (typename std::allocator::pointer p, + typename std::allocator::size_type n) { +- memset (p, '0', n*sizeof (std::allocator::value_type) ); ++ memset (p, '0', n*sizeof (typename std::allocator::value_type) ); + std::allocator::deallocate (p, n); + } +