aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-10-01 02:34:58 +0800
committermarino <marino@FreeBSD.org>2014-10-01 02:34:58 +0800
commit4202cce7073a4dce48092840e049a5459f084bfa (patch)
treecab49592fe8ca4f9638ec2a8c32c8579324e3d23 /security
parent0a7405d76d3d6ec1abb09056c8d882a46161a7b3 (diff)
downloadfreebsd-ports-gnome-4202cce7073a4dce48092840e049a5459f084bfa.tar.gz
freebsd-ports-gnome-4202cce7073a4dce48092840e049a5459f084bfa.tar.zst
freebsd-ports-gnome-4202cce7073a4dce48092840e049a5459f084bfa.zip
security/libbeid: Add <stdlib.h> header for malloc
The existing patch removed "<malloc.h>" but didn't provide "<stdlib.h>". Adjust to compound patch to fix that oversight. FWIW, the extra work to partially fix a patch is one reason I don't like one-patch-many-files. It's not the only reason.
Diffstat (limited to 'security')
-rw-r--r--security/libbeid/files/patch-common9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/libbeid/files/patch-common b/security/libbeid/files/patch-common
index 7ecaad66e218..e84a1bbfc2d9 100644
--- a/security/libbeid/files/patch-common
+++ b/security/libbeid/files/patch-common
@@ -36,14 +36,15 @@ Index: common/src/datafile.cpp
}
Index: common/src/logbase.cpp
===================================================================
---- common/src/logbase.cpp (revision 1614)
-+++ common/src/logbase.cpp (working copy)
-@@ -29,12 +29,7 @@
+--- common/src/logbase.cpp.orig 2014-09-30 18:10:35 UTC
++++ common/src/logbase.cpp
+@@ -29,12 +29,8 @@
#include "mw_util.h"
#ifndef WIN32
-#include <malloc.h>
-#ifdef LINUX
++#include <stdlib.h>
#include "wintypes.h"
-#else
-#include "PCSC/wintypes.h"
@@ -51,7 +52,7 @@ Index: common/src/logbase.cpp
#include "sys/stat.h"
#include "util.h"
-@@ -575,6 +570,7 @@ bool CLog::open(bool bWchar)
+@@ -575,6 +571,7 @@ bool CLog::open(bool bWchar)
else
err = fopen_s(&m_f,utilStringNarrow(filename).c_str(),"a");
#else