From 7476048ba3b9e6667bfec74a5eb4d0c387113fc7 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 1 Mar 2009 20:03:32 +0100 Subject: [PATCH] New release 1.4 modified: README modified: chan_lcr.c modified: configure modified: configure.ac --- README | 4 +++- chan_lcr.c | 2 +- configure | 20 ++++++++++---------- configure.ac | 4 ++-- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/README b/README index 74fef85..ac17322 100644 --- a/README +++ b/README @@ -454,7 +454,7 @@ Changes in Version 1.2 - Introduceing autoconf (./configure) with help of Joerg and Peter. -> Default installation path remains /usr/local/lcr, so don't worry! -Changes in Version 1.3 +Changes after Version 1.3 - Finished autoconf. - Obsolete "pbxwatch" is removed. - fixes in chan_lcr, thanx to peter and gregor @@ -467,3 +467,5 @@ Changes in Version 1.3 - Added patch by gregory, asterisk should now use faxdetection with mISDN_dsp disabled. +Changes after Version 1.4 + diff --git a/chan_lcr.c b/chan_lcr.c index 37b2594..fbcadc5 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -2050,7 +2050,7 @@ static struct ast_frame *lcr_read(struct ast_channel *ast) call->read_fr.datalen = len; call->read_fr.samples = len; call->read_fr.delivery = ast_tv(0,0); - (unsigned char *)call->read_fr.data = call->read_buff; + *((unsigned char **)&(call->read_fr.data)) = call->read_buff; ast_mutex_unlock(&chan_lock); return &call->read_fr; diff --git a/configure b/configure index f4e4de6..bc2f8b2 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for lcr 1.3. +# Generated by GNU Autoconf 2.63 for lcr 1.4. # # Report bugs to . # @@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='lcr' PACKAGE_TARNAME='lcr' -PACKAGE_VERSION='1.3' -PACKAGE_STRING='lcr 1.3' +PACKAGE_VERSION='1.4' +PACKAGE_STRING='lcr 1.4' PACKAGE_BUGREPORT='andreas@eversberg.eu' ac_unique_file="main.c" @@ -1297,7 +1297,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures lcr 1.3 to adapt to many kinds of systems. +\`configure' configures lcr 1.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1363,7 +1363,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of lcr 1.3:";; + short | recursive ) echo "Configuration of lcr 1.4:";; esac cat <<\_ACEOF @@ -1461,7 +1461,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -lcr configure 1.3 +lcr configure 1.4 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1475,7 +1475,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by lcr $as_me 1.3, which was +It was created by lcr $as_me 1.4, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -4033,7 +4033,7 @@ fi # Define the identity of the package. PACKAGE=lcr - VERSION=1.3 + VERSION=1.4 cat >>confdefs.h <<_ACEOF @@ -10078,7 +10078,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by lcr $as_me 1.3, which was +This file was extended by lcr $as_me 1.4, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10141,7 +10141,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -lcr config.status 1.3 +lcr config.status 1.4 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/configure.ac b/configure.ac index 9012f57..e1d3db6 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ dnl Boston, MA 02110-1301, USA. dnl This keeps being the first instruction. dnl Change the 2nd argument if the version increases dnl 1st + 2nd argument is used for distribution package name -AC_INIT(lcr, 1.3, andreas@eversberg.eu) +AC_INIT(lcr, 1.4, andreas@eversberg.eu) AC_PREREQ(2.59) AC_CONFIG_SRCDIR([main.c]) AM_CONFIG_HEADER(config.h) @@ -32,7 +32,7 @@ AM_CONFIG_HEADER(config.h) # fix warnings from autoconf + automake AC_GNU_SOURCE # AC_USE_SYSTEM_EXTENSIONS -AM_INIT_AUTOMAKE(lcr,1.3) +AM_INIT_AUTOMAKE(lcr,1.4) -- 2.13.6