diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-02-19 00:07:34 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-02-19 00:07:34 +0000 |
commit | 159b6b5ea81a1288f8b067bb6c3be326a1cac7d3 (patch) | |
tree | 6df9698a99a8c9ee25668b03f8035a853155999f /net/asterisk14/files | |
parent | 57b31d38494f9a608cee2bda2c8ae4d49c5d0358 (diff) | |
download | ports-159b6b5ea81a1288f8b067bb6c3be326a1cac7d3.tar.gz ports-159b6b5ea81a1288f8b067bb6c3be326a1cac7d3.zip |
Notes
Diffstat (limited to 'net/asterisk14/files')
-rw-r--r-- | net/asterisk14/files/patch-channels::Makefile | 8 | ||||
-rw-r--r-- | net/asterisk14/files/patch-formats::format_g729.c | 20 |
2 files changed, 6 insertions, 22 deletions
diff --git a/net/asterisk14/files/patch-channels::Makefile b/net/asterisk14/files/patch-channels::Makefile index 57e7635206a8..d05ee2c13676 100644 --- a/net/asterisk14/files/patch-channels::Makefile +++ b/net/asterisk14/files/patch-channels::Makefile @@ -1,8 +1,8 @@ $FreeBSD$ ---- channels/Makefile.orig Wed Dec 10 04:19:22 2003 -+++ channels/Makefile Fri Jan 30 01:47:34 2004 +--- channels/Makefile.orig Fri Jan 23 22:57:48 2004 ++++ channels/Makefile Thu Feb 19 01:48:41 2004 @@ -26,12 +26,10 @@ # #CHANNEL_LIBS+=chan_vofr @@ -29,14 +29,14 @@ $FreeBSD$ chan_iax2.so: chan_iax2.o iax2-parser.o ifeq ($(USE_MYSQL_FRIENDS),1) -@@ -139,15 +135,17 @@ +@@ -146,15 +142,17 @@ chan_vpb.so: chan_vpb.o $(CXX) $(SOLINK) -o $@ $< -lvpb -lpthread -lm -ldl -chan_h323.so: chan_h323.o h323/libchanh323.a - $(CC) $(SOLINK) -o $@ $< h323/libchanh323.a -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat +chan_h323.so: chan_h323.o h323/ast_h323.o -+ $(CC) $(SOLINK) -o $@ $< h323/ast_h323.o -L$(OPENH323DIR)/lib -lh323_FreeBSD_x86_r_s -L$(PWLIBDIR)/lib -lpt_FreeBSD_x86_r_s -lcrypto -lssl -L$(LOCALBASE)/lib -lexpat -llber -lldap -lldap_r ++ $(CXX) $(SOLINK) -o $@ $< h323/ast_h323.o -L$(OPENH323DIR)/lib -lh323_FreeBSD_x86_r_s -L$(PWLIBDIR)/lib -lpt_FreeBSD_x86_r_s -lcrypto -lssl -L$(LOCALBASE)/lib -lexpat -llber -lldap -lldap_r +h323/ast_h323.o: + $(MAKE) -C h323 ast_h323.o diff --git a/net/asterisk14/files/patch-formats::format_g729.c b/net/asterisk14/files/patch-formats::format_g729.c index a255fc351e71..a144d1b0f6bf 100644 --- a/net/asterisk14/files/patch-formats::format_g729.c +++ b/net/asterisk14/files/patch-formats::format_g729.c @@ -1,8 +1,8 @@ $FreeBSD$ ---- formats/format_g729.c.orig Mon Sep 8 19:48:07 2003 -+++ formats/format_g729.c Fri Jan 30 01:47:34 2004 +--- formats/format_g729.c.orig Wed Jan 28 23:32:48 2004 ++++ formats/format_g729.c Thu Feb 19 01:03:30 2004 @@ -45,7 +45,7 @@ struct ast_frame fr; /* Frame information */ char waste[AST_FRIENDLY_OFFSET]; /* Buffer for sending frames, etc */ @@ -27,22 +27,6 @@ $FreeBSD$ if (res) ast_log(LOG_WARNING, "Short read (%d) (%s)!\n", res, strerror(errno)); return NULL; -@@ -150,12 +150,12 @@ - ast_log(LOG_WARNING, "Asked to write non-G729 frame (%d)!\n", f->subclass); - return -1; - } -- if (f->datalen % 20) { -- ast_log(LOG_WARNING, "Invalid data length, %d, should be multiple of 20\n", f->datalen); -+ if (f->datalen % 10) { -+ ast_log(LOG_WARNING, "Invalid data length, %d, should be multiple of 10\n", f->datalen); - return -1; - } - if ((res = write(fs->fd, f->data, f->datalen)) != f->datalen) { -- ast_log(LOG_WARNING, "Bad write (%d/20): %s\n", res, strerror(errno)); -+ ast_log(LOG_WARNING, "Bad write (%d/10): %s\n", res, strerror(errno)); - return -1; - } - return 0; @@ -174,7 +174,7 @@ cur = lseek(fs->fd, 0, SEEK_CUR); max = lseek(fs->fd, 0, SEEK_END); |