diff options
Diffstat (limited to 'net/asterisk/files')
| -rw-r--r-- | net/asterisk/files/patch-agi::Makefile | 11 | ||||
| -rw-r--r-- | net/asterisk/files/patch-res-res_watchdog.c | 13 |
2 files changed, 17 insertions, 7 deletions
diff --git a/net/asterisk/files/patch-agi::Makefile b/net/asterisk/files/patch-agi::Makefile index b35976526f59..82b11dbfde30 100644 --- a/net/asterisk/files/patch-agi::Makefile +++ b/net/asterisk/files/patch-agi::Makefile @@ -1,14 +1,11 @@ - -$FreeBSD$ - ---- agi/Makefile.orig Thu Jan 12 15:42:07 2006 -+++ agi/Makefile Thu Jan 12 15:44:39 2006 +--- agi/Makefile.orig Sun Jan 22 17:53:44 2006 ++++ agi/Makefile Sun Jan 22 17:55:53 2006 @@ -11,7 +11,9 @@ # the GNU General Public License # --AGIS=agi-test.agi eagi-test eagi-sphinx-test -+AGIS_BIN=eagi-test eagi-sphinx-test +-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test ++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test +AGIS_SCR=agi-test.agi +AGIS=$(AGIS_SCR) $(AGIS_BIN) 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..8372764ed3e4 --- /dev/null +++ b/net/asterisk/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; |
