aboutsummaryrefslogtreecommitdiff
path: root/security/pam_smb
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2001-11-29 17:04:16 +0000
committerNick Sayer <nsayer@FreeBSD.org>2001-11-29 17:04:16 +0000
commita2772e99a45e76cb187cb43bddb09db07e64e3e1 (patch)
treef6516a97ffd5444a77eab38c0cf91d8c64a47c06 /security/pam_smb
parent7b859cdd96cd793ddc90818ed13668ea6418259a (diff)
downloadports-a2772e99a45e76cb187cb43bddb09db07e64e3e1.tar.gz
ports-a2772e99a45e76cb187cb43bddb09db07e64e3e1.zip
Notes
Diffstat (limited to 'security/pam_smb')
-rw-r--r--security/pam_smb/files/patch-malloc44
1 files changed, 44 insertions, 0 deletions
diff --git a/security/pam_smb/files/patch-malloc b/security/pam_smb/files/patch-malloc
new file mode 100644
index 000000000000..5ffc3f378704
--- /dev/null
+++ b/security/pam_smb/files/patch-malloc
@@ -0,0 +1,44 @@
+--- smbval/smblib.c.orig Thu Nov 29 08:58:05 2001
++++ smbval/smblib.c Thu Nov 29 08:58:33 2001
+@@ -24,7 +24,7 @@
+ */
+
+ #include "../config.h"
+-#include <malloc.h>
++#include <unistd.h>
+
+ int SMBlib_errno;
+ int SMBlib_SMB_Error;
+--- smbval/smblib-util.c.orig Thu Nov 29 08:58:15 2001
++++ smbval/smblib-util.c Thu Nov 29 08:58:31 2001
+@@ -24,7 +24,7 @@
+ */
+
+ #include "smblib-priv.h"
+-#include <malloc.h>
++#include <unistd.h>
+
+ #include "rfcnb.h"
+
+--- smbval/rfcnb-util.c.orig Thu Nov 29 08:57:54 2001
++++ smbval/rfcnb-util.c Thu Nov 29 08:58:39 2001
+@@ -24,7 +24,7 @@
+ */
+
+ #include <string.h>
+-#include <malloc.h>
++#include <unistd.h>
+
+ #include "std-includes.h"
+ #include "rfcnb-priv.h"
+--- smbval/session.c.orig Thu Nov 29 08:58:00 2001
++++ smbval/session.c Thu Nov 29 08:58:36 2001
+@@ -23,7 +23,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+-#include <malloc.h>
++#include <unistd.h>
+ #include <string.h>
+
+ int RFCNB_errno = 0;