- Re-add patch to fix build on RELENG_4.

- Bump PORTREVISION.
This commit is contained in:
Max Khon 2006-06-05 19:09:11 +00:00
parent 07b51b684e
commit 2ed29b9b6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164484
2 changed files with 14 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.7.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/

View File

@ -0,0 +1,13 @@
--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
+++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
@@ -37,6 +37,10 @@
#include <asterisk/utils.h>
#include <asterisk/adsi.h>
+#if defined(__FreeBSD__) && !defined(O_SYNC)
+#define O_SYNC O_FSYNC
+#endif
+
static struct watchdog_pvt *watchdogs = NULL;
STANDARD_LOCAL_USER;