Make usable on 6.x and up. The FreeBSD defines valloc(3) in the
unistd.h, so that we need to include it in order to compile with mpatrol.
This commit is contained in:
parent
5b69e3a9f0
commit
f4a1c88374
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221337
@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= mpatrol
|
||||
PORTVERSION= 1.4.8
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.cbmamiga.demon.co.uk/mpatrol/files/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
13
devel/mpatrol/files/patch-..::..::src::mpatrol.h
Normal file
13
devel/mpatrol/files/patch-..::..::src::mpatrol.h
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- ../../src/mpatrol.h
|
||||
+++ ../../src/mpatrol.h
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
+#include <unistd.h>
|
||||
#if !MP_NOCPLUSPLUS
|
||||
#ifdef __cplusplus
|
||||
#include <new>
|
Loading…
Reference in New Issue
Block a user