diff options
author | Max Khon <fjoe@FreeBSD.org> | 2006-06-05 19:09:11 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2006-06-05 19:09:11 +0000 |
commit | 2ed29b9b6a18ef254ae5294d6f8be5eabfecf470 (patch) | |
tree | b8cf6ff92cee3fbf29be95c44db3eeb06da16c3b /net/asterisk-bristuff | |
parent | 07b51b684eb3d0ef87e5bd19bcee0164b0648b1d (diff) |
- Re-add patch to fix build on RELENG_4.
- Bump PORTREVISION.
Notes
Notes:
svn path=/head/; revision=164484
Diffstat (limited to 'net/asterisk-bristuff')
-rw-r--r-- | net/asterisk-bristuff/Makefile | 1 | ||||
-rw-r--r-- | net/asterisk-bristuff/files/patch-res-res_watchdog.c | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile index d24f793c026c..8cbf6106ab9f 100644 --- a/net/asterisk-bristuff/Makefile +++ b/net/asterisk-bristuff/Makefile @@ -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/ diff --git a/net/asterisk-bristuff/files/patch-res-res_watchdog.c b/net/asterisk-bristuff/files/patch-res-res_watchdog.c new file mode 100644 index 000000000000..8372764ed3e4 --- /dev/null +++ b/net/asterisk-bristuff/files/patch-res-res_watchdog.c @@ -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; |