[Pkg-voip-commits] r6416 - in /asterisk/branches/experimental/debian: changelog patches/libtonezone_libm patches/series
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Wed Nov 12 14:50:19 UTC 2008
Author: tzafrir-guest
Date: Wed Nov 12 14:50:19 2008
New Revision: 6416
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6416
Log:
Patch libtonezone_libm: libtonezone requires -lm .
Added:
asterisk/branches/experimental/debian/patches/libtonezone_libm
Modified:
asterisk/branches/experimental/debian/changelog
asterisk/branches/experimental/debian/patches/series
Modified: asterisk/branches/experimental/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/experimental/debian/changelog?rev=6416&op=diff
==============================================================================
--- asterisk/branches/experimental/debian/changelog (original)
+++ asterisk/branches/experimental/debian/changelog Wed Nov 12 14:50:19 2008
@@ -17,6 +17,7 @@
* Don't do ant makeopts manipulation in the rules, as makeopts gets
regenerated when running 'make install', rendering build-*-stamp
useless.
+ * Patch libtonezone_libm: libtonezone requires -lm .
-- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Sun, 02 Nov 2008 12:40:49 +0200
Added: asterisk/branches/experimental/debian/patches/libtonezone_libm
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/experimental/debian/patches/libtonezone_libm?rev=6416&op=file
==============================================================================
--- asterisk/branches/experimental/debian/patches/libtonezone_libm (added)
+++ asterisk/branches/experimental/debian/patches/libtonezone_libm Wed Nov 12 14:50:19 2008
@@ -1,0 +1,33 @@
+Use -lm to test linking with libtonezone. This seems to be required now.
+
+--- a/configure
++++ b/configure
+@@ -45751,7 +45751,7 @@ if { as_var=$as_ac_Lib; eval "test \"\${
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ltonezone ${pbxlibdir} ${tonezone_extra} ${DAHDI_INCLUDE} $LIBS"
++LIBS="-ltonezone ${pbxlibdir} -lm ${DAHDI_INCLUDE} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -45817,7 +45817,7 @@ fi
+
+ # now check for the header.
+ if test "${AST_TONEZONE_FOUND}" = "yes"; then
+- TONEZONE_LIB="${pbxlibdir} -ltonezone ${tonezone_extra} ${DAHDI_INCLUDE}"
++ TONEZONE_LIB="${pbxlibdir} -ltonezone -lm ${DAHDI_INCLUDE}"
+ # if --with-TONEZONE=DIR has been specified, use it.
+ if test "x${TONEZONE_DIR}" != "x"; then
+ TONEZONE_INCLUDE="-I${TONEZONE_DIR}/include"
+--- a/configure.ac
++++ b/configure.ac
+@@ -1407,7 +1407,7 @@ if test "${host_os}" != "linux-gnu" ; th
+ tonezone_extra="-lm"
+ fi
+
+-AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [dahdi/tonezone.h], [${tonezone_extra} ${DAHDI_INCLUDE}])
++AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [dahdi/tonezone.h], [-lm ${DAHDI_INCLUDE}])
+
+ AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [])
+
Modified: asterisk/branches/experimental/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/experimental/debian/patches/series?rev=6416&op=diff
==============================================================================
--- asterisk/branches/experimental/debian/patches/series (original)
+++ asterisk/branches/experimental/debian/patches/series Wed Nov 12 14:50:19 2008
@@ -20,3 +20,4 @@
# bugfixes on top of everything
zap-fix-timing-source
disable_moh
+libtonezone_libm
More information about the Pkg-voip-commits
mailing list