rpms/callweaver/devel 0001-Hopefully-the-final-bunch-of-API-changes-for-the-for.patch, NONE, 1.1

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Wed Jul 30 16:44:19 UTC 2008


Author: jcollie

Update of /cvs/pkgs/rpms/callweaver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13032

Added Files:
	0001-Hopefully-the-final-bunch-of-API-changes-for-the-for.patch 
Log Message:
Add forgotten patch

0001-Hopefully-the-final-bunch-of-API-changes-for-the-for.patch:

--- NEW FILE 0001-Hopefully-the-final-bunch-of-API-changes-for-the-for.patch ---
>From 50932e8b857e73f8906003ac95d7036c715ff736 Mon Sep 17 00:00:00 2001
From: coppice <coppice at e56c2a57-502e-0410-a6e2-86b2f1ef08c6>
Date: Mon, 16 Jun 2008 15:04:32 +0000
Subject: [PATCH] Hopefully the final bunch of API changes for the foreseeable future went into
 spandsp-0.0.5pre4, and this allows for the one API change that hits Callweaver

git-svn-id: http://svn.callweaver.org/callweaver/branches/rel/1.2@4933 e56c2a57-502e-0410-a6e2-86b2f1ef08c6
---
 configure.ac  |    6 +++---
 corelib/dsp.c |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index cb23839..372c1e8 100755
--- a/configure.ac
+++ b/configure.ac
@@ -783,15 +783,15 @@ AC_ARG_WITH([spandsp-libs],
 	[AC_HELP_STRING([--with-spandsp-libs],[Location of SpanDSP library files.])],
 	[LDFLAGS="$LDFLAGS -L${withval}"])
 
-AC_CHECK_HEADERS([spandsp.h],[HAVE_SPANDSP_H=1],[AC_MSG_ERROR(SpanDSP version 0.0.5pre3 or newer is required to compile CallWeaver.)])
+AC_CHECK_HEADERS([spandsp.h],[HAVE_SPANDSP_H=1],[AC_MSG_ERROR(SpanDSP version 0.0.5pre4 or newer is required to compile CallWeaver.)])
 
-AC_CHECK_HEADERS([spandsp/version.h],[HAVE_SPANDSP_VERSION_H=1],[AC_MSG_ERROR(SpanDSP does not appear to be new enough. You must have version 0.0.5pre3 or newer to compile CallWeaver.)],
+AC_CHECK_HEADERS([spandsp/version.h],[HAVE_SPANDSP_VERSION_H=1],[AC_MSG_ERROR(SpanDSP does not appear to be new enough. You must have version 0.0.5pre4 or newer to compile CallWeaver.)],
 [#ifdef HAVE_SPANDSP_H
 #include <spandsp.h>
 #endif
 #include <spandsp/version.h>
 
-#if SPANDSP_RELEASE_DATE < 20080508
+#if SPANDSP_RELEASE_DATE < 20080616
 
 #error
 #endif
diff --git a/corelib/dsp.c b/corelib/dsp.c
index 4782cce..66de4f1 100644
--- a/corelib/dsp.c
+++ b/corelib/dsp.c
@@ -898,9 +898,9 @@ int cw_dsp_digitmode(struct cw_dsp *dsp, int digitmode)
                                     NULL);
     }
     if ((digitmode & DSP_DIGITMODE_RELAXDTMF))
-        dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 8);
+        dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 8, -99);
     else
-        dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 4);
+        dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 4, -99);
     dsp->digitmode = digitmode;
     return 0;
 }
-- 
1.5.5.2





More information about the fedora-extras-commits mailing list