summaryrefslogtreecommitdiff
path: root/net/asterisk10
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-07-20 00:19:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-07-20 00:19:08 +0000
commit7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8 (patch)
tree53016095da7a7242d145085c9479693889fe3c3a /net/asterisk10
parentUpdate to 0.12 (diff)
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 <bamby@ua.fm>
Notes
Notes: svn path=/head/; revision=168288
Diffstat (limited to 'net/asterisk10')
-rw-r--r--net/asterisk10/files/patch-apps::app_rxfax.c4
-rw-r--r--net/asterisk10/files/patch-apps::app_txfax.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/net/asterisk10/files/patch-apps::app_rxfax.c b/net/asterisk10/files/patch-apps::app_rxfax.c
index d294ecdfd5e2..cabfb1a98604 100644
--- a/net/asterisk10/files/patch-apps::app_rxfax.c
+++ b/net/asterisk10/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 <pthread.h>
+#include <errno.h>
++#if !defined(__FreeBSD__) || __FreeBSD_version >= 503000
+#include <tgmath.h>
++#endif
+#include <tiffio.h>
+
+#include <spandsp.h>
diff --git a/net/asterisk10/files/patch-apps::app_txfax.c b/net/asterisk10/files/patch-apps::app_txfax.c
index 0a3a1d5d52ac..8d81a55ae13c 100644
--- a/net/asterisk10/files/patch-apps::app_txfax.c
+++ b/net/asterisk10/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 <pthread.h>
+#include <errno.h>
++#if !defined(__FreeBSD__) || __FreeBSD_version >= 503000
+#include <tgmath.h>
++#endif
+#include <tiffio.h>
+
+#include <spandsp.h>