summaryrefslogtreecommitdiff
path: root/net/asterisk/files
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-07-15 12:21:58 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-07-15 12:21:58 +0000
commit414711836f64b9e55b18d3abc50145fb704397cd (patch)
tree848b0dfdc8fc11fdbc33f0da104da058083be2db /net/asterisk/files
parentFix typo in header documentation (diff)
Fix build on RELENG_4 (fix res_watchdog, do not build fax support).
Bump PORTREVISION. Approved by: MAINTAINER
Diffstat (limited to 'net/asterisk/files')
-rw-r--r--net/asterisk/files/patch-res-res_watchdog.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/asterisk/files/patch-res-res_watchdog.c b/net/asterisk/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..51e4b0ae6c71
--- /dev/null
+++ b/net/asterisk/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
++++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
+@@ -40,6 +40,10 @@
+
+ /* Registrar for operations */
+
++#ifndef O_SYNC
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;