aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk-devel/files/patch-apps::app_rxfax.c
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-01-17 22:27:45 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-01-17 22:27:45 +0000
commite61e1d66bd617141dc294a78d82e163554034060 (patch)
tree82d56db941093217a7c6bf1b3f6b2ba800639f4c /net/asterisk-devel/files/patch-apps::app_rxfax.c
parentcfb4ed733fa8c10b76f41592e5a4ea070e9ea37f (diff)
Update to 1.2.1.
Notes
Notes: svn path=/head/; revision=153765
Diffstat (limited to 'net/asterisk-devel/files/patch-apps::app_rxfax.c')
-rw-r--r--net/asterisk-devel/files/patch-apps::app_rxfax.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/asterisk-devel/files/patch-apps::app_rxfax.c b/net/asterisk-devel/files/patch-apps::app_rxfax.c
index 88362bfc7914..820208e1943d 100644
--- a/net/asterisk-devel/files/patch-apps::app_rxfax.c
+++ b/net/asterisk-devel/files/patch-apps::app_rxfax.c
@@ -1,9 +1,9 @@
$FreeBSD$
---- apps/app_rxfax.c.orig
-+++ apps/app_rxfax.c
-@@ -0,0 +1,371 @@
+--- /dev/null Thu Jan 12 17:44:40 2006
++++ apps/app_rxfax.c Thu Jan 12 17:41:53 2006
+@@ -0,0 +1,373 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@@ -17,6 +17,7 @@ $FreeBSD$
+ * the GNU General Public License
+ */
+
++#include <stdio.h>
+#include <asterisk/lock.h>
+#include <asterisk/file.h>
+#include <asterisk/logger.h>
@@ -26,6 +27,7 @@ $FreeBSD$
+#include <asterisk/translate.h>
+#include <asterisk/dsp.h>
+#include <asterisk/manager.h>
++#include <asterisk/version.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
@@ -100,7 +102,7 @@ $FreeBSD$
+ "FaxReceived", "Channel: %s\nExten: %s\nCallerID: %s\nRemoteStationID: %s\nLocalStationID: %s\nPagesTransferred: %i\nResolution: %i\nTransferRate: %i\nFileName: %s\n",
+ chan->name,
+ chan->exten,
-+#if (ASTERISK_VERSION_NUM <= 011000)
++#if ASTERISK_VERSION_NUM <= 010010
+ chan->callerid,
+#else
+ (chan->cid.cid_num) ? chan->cid.cid_num : "",