diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2006-04-15 23:14:56 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2006-04-15 23:14:56 +0000 |
commit | 0875948db6f9c56ab02bb0e83d62f5db464bdd1b (patch) | |
tree | 424421d3733d88531bebdaea99a99c780eed3aea /net-misc/asterisk-app_iconv/files | |
parent | Stable on sparc (Bug #125258). Still fails one test (general/table), (diff) | |
download | gentoo-2-0875948db6f9c56ab02bb0e83d62f5db464bdd1b.tar.gz gentoo-2-0875948db6f9c56ab02bb0e83d62f5db464bdd1b.tar.bz2 gentoo-2-0875948db6f9c56ab02bb0e83d62f5db464bdd1b.zip |
Version bump, 0.9.2 verified to compile with asterisk-1.2.x, add blocks to DEPEND for unsupported version of asterisk.
(Portage version: 2.0.54)
Diffstat (limited to 'net-misc/asterisk-app_iconv/files')
3 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-ast12.diff b/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-ast12.diff new file mode 100644 index 000000000000..464ff80c04cd --- /dev/null +++ b/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-ast12.diff @@ -0,0 +1,17 @@ +--- app_iconv-0.9.2/app_iconv.c.orig 2005-11-27 11:03:40.000000000 +0000 ++++ app_iconv-0.9.2/app_iconv.c 2006-04-15 22:22:23.000000000 +0000 +@@ -82,12 +82,9 @@ + strconvert(convert_from, convert_to, string, result); + + if(strcmp("CALLERIDNAME", varname)==0) { +- char *cidnum, *cidname, newcid[256] = ""; +- ast_callerid_parse(chan->callerid, &cidname, &cidnum); +- snprintf(newcid, sizeof(newcid), "\"%s\" <%s>", result, cidnum); + if(option_verbose > 2) +- ast_verbose (VERBOSE_PREFIX_3 "Iconv: set CID to %s\n", newcid); +- ast_set_callerid (chan, newcid, 0); ++ ast_verbose (VERBOSE_PREFIX_3 "Iconv: set CIDNAME to %s\n", result); ++ ast_set_callerid (chan, NULL, result, NULL); + } else { + pbx_builtin_setvar_helper(chan, varname, result); + } diff --git a/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-gentoo.diff b/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-gentoo.diff new file mode 100644 index 000000000000..4cd1375ec9d0 --- /dev/null +++ b/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-gentoo.diff @@ -0,0 +1,25 @@ +--- app_iconv-0.9.2/Makefile.orig 2006-04-15 23:02:21.000000000 +0000 ++++ app_iconv-0.9.2/Makefile 2006-04-15 23:03:43.000000000 +0000 +@@ -8,9 +8,9 @@ + + NAME=app_iconv + +-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC ++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC + LIBS= +-RES=$(shell if [ -f /usr/include/asterisk/channel.h ]; then echo "$(NAME).so"; fi) ++RES=$(NAME).so + + ifeq (${OSARCH},Darwin) + SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace +@@ -29,9 +29,7 @@ + rm -f $(NAME).o $(NAME).so + + install: all +- if [ -f $(NAME).so ]; then \ +- install -m 755 $(NAME).so $(MODULES_DIR) ; \ +- fi ++ install -D -m 755 $(NAME).so $(DESTDIR)$(MODULES_DIR)/$(NAME).so ; \ + + reload: install + asterisk -rx "unload ${RES}" diff --git a/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.2 b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.2 new file mode 100644 index 000000000000..d9a9e8a289c5 --- /dev/null +++ b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.2 @@ -0,0 +1,3 @@ +MD5 2f9cd9fceb4dc5a42281fae634705709 app_iconv-0.9.2.tgz 2841 +RMD160 42ba3e773966fe304cc84f391523066955470f76 app_iconv-0.9.2.tgz 2841 +SHA256 392cc017cf71c3ba726472c6449aabef68e0c64db1ac0807123657120b47d5cc app_iconv-0.9.2.tgz 2841 |