From 7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 20 Jul 2006 00:19:08 +0000 Subject: Fix build on 4.x. Untested due to the lack of 4.x system. No PORTREVISION bump since it doens't change package content. Submitted by: Andriy I Pylypenko --- net/asterisk/files/patch-apps::app_rxfax.c | 4 +++- net/asterisk/files/patch-apps::app_txfax.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'net/asterisk') diff --git a/net/asterisk/files/patch-apps::app_rxfax.c b/net/asterisk/files/patch-apps::app_rxfax.c index d294ecdfd5e2..cabfb1a98604 100644 --- a/net/asterisk/files/patch-apps::app_rxfax.c +++ b/net/asterisk/files/patch-apps::app_rxfax.c @@ -3,7 +3,7 @@ $FreeBSD$ --- apps/app_rxfax.c.orig +++ apps/app_rxfax.c -@@ -0,0 +1,391 @@ +@@ -0,0 +1,393 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * @@ -27,7 +27,9 @@ $FreeBSD$ +#endif +#include +#include ++#if !defined(__FreeBSD__) || __FreeBSD_version >= 503000 +#include ++#endif +#include + +#include diff --git a/net/asterisk/files/patch-apps::app_txfax.c b/net/asterisk/files/patch-apps::app_txfax.c index 0a3a1d5d52ac..8d81a55ae13c 100644 --- a/net/asterisk/files/patch-apps::app_txfax.c +++ b/net/asterisk/files/patch-apps::app_txfax.c @@ -3,7 +3,7 @@ $FreeBSD$ --- apps/app_txfax.c.orig +++ apps/app_txfax.c -@@ -0,0 +1,318 @@ +@@ -0,0 +1,320 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * @@ -27,7 +27,9 @@ $FreeBSD$ +#endif +#include +#include ++#if !defined(__FreeBSD__) || __FreeBSD_version >= 503000 +#include ++#endif +#include + +#include -- cgit v1.2.3