mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Unbreak
- Fix build with gcc 4.2 PR: 125207 Submitted by: Alex Keda <admin@lissyara.su> (maintainer)
This commit is contained in:
parent
6f4161fea0
commit
de324ac57e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216489
@ -22,8 +22,4 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/smbclient:${PORTSDIR}/net/samba3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Does not compile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,11 +1,25 @@
|
||||
--- smbval/smblib.inc.c.orig Wed Sep 26 12:42:22 2007
|
||||
+++ smbval/smblib.inc.c Wed Sep 26 12:43:08 2007
|
||||
@@ -20,7 +20,7 @@
|
||||
--- smbval/smblib.inc.c.orig 2008-07-03 01:44:33.000000000 +0400
|
||||
+++ smbval/smblib.inc.c 2008-07-03 01:45:18.000000000 +0400
|
||||
@@ -20,10 +20,10 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include <stdio.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
static int SMBlib_errno;
|
||||
static int SMBlib_SMB_Error;
|
||||
-static int SMBlib_errno;
|
||||
-static int SMBlib_SMB_Error;
|
||||
+int SMBlib_errno;
|
||||
+int SMBlib_SMB_Error;
|
||||
#define SMBLIB_ERRNO
|
||||
#define uchar unsigned char
|
||||
#include "smblib-priv.h"
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
-static SMB_State_Types SMBlib_State;
|
||||
+SMB_State_Types SMBlib_State;
|
||||
|
||||
/* Initialize the SMBlib package */
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user