Date: Thu, 19 Sep 2013 16:15:30 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327637 - head/security/yapet/files Message-ID: <201309191615.r8JGFUv2072804@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <rafi guengel.ch> (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 <stdio.h> + #endif + ++#ifdef HAVE_STDLIB_H ++# include <stdlib.h> ++#endif ++ + #ifdef HAVE_ALGORITHM + # include <algorithm> + #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<T>::pointer p, + typename std::allocator<T>::size_type n) { +- memset (p, '0', n*sizeof (std::allocator<T>::value_type) ); ++ memset (p, '0', n*sizeof (typename std::allocator<T>::value_type) ); + std::allocator<T>::deallocate (p, n); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191615.r8JGFUv2072804>