From f4a1c883743c63255ac230aae30845f8b918349d Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Wed, 8 Oct 2008 18:22:58 +0000 Subject: 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. --- devel/mpatrol/Makefile | 2 +- devel/mpatrol/files/patch-..::..::src::mpatrol.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 devel/mpatrol/files/patch-..::..::src::mpatrol.h (limited to 'devel/mpatrol') diff --git a/devel/mpatrol/Makefile b/devel/mpatrol/Makefile index d123e994910f..7e6421eafc64 100644 --- a/devel/mpatrol/Makefile +++ b/devel/mpatrol/Makefile @@ -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} diff --git a/devel/mpatrol/files/patch-..::..::src::mpatrol.h b/devel/mpatrol/files/patch-..::..::src::mpatrol.h new file mode 100644 index 000000000000..f335de221249 --- /dev/null +++ b/devel/mpatrol/files/patch-..::..::src::mpatrol.h @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- ../../src/mpatrol.h ++++ ../../src/mpatrol.h +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #if !MP_NOCPLUSPLUS + #ifdef __cplusplus + #include -- cgit v1.2.3