diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-09-19 16:15:30 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-09-19 16:15:30 +0000 |
commit | a6ce2061140e05ec9cd3d35012fdd7354dfe29ff (patch) | |
tree | 65ac895f0c4a48cd634d57b0db7fb389b75dd848 /security/yapet | |
parent | 039b6350a5149bdb1bc3402e8fe00958cbb668b0 (diff) |
Notes
Diffstat (limited to 'security/yapet')
-rw-r--r-- | security/yapet/files/patch-ui-basewindow.cc | 13 | ||||
-rw-r--r-- | security/yapet/files/patch-ui-secstring.h | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/security/yapet/files/patch-ui-basewindow.cc b/security/yapet/files/patch-ui-basewindow.cc new file mode 100644 index 000000000000..b92129d9a538 --- /dev/null +++ b/security/yapet/files/patch-ui-basewindow.cc @@ -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 diff --git a/security/yapet/files/patch-ui-secstring.h b/security/yapet/files/patch-ui-secstring.h new file mode 100644 index 000000000000..842d7db0290c --- /dev/null +++ b/security/yapet/files/patch-ui-secstring.h @@ -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); + } + |