openbsd-ports/telephony/asterisk/patches/patch-configure_ac
sthen c0d15916fc maintenance update to 1.4.25. disable building the speex plugin by default
for now, it causes a SIGBUS at startup (and also did in the previous version)
which hasn't been tracked down yet.
2009-05-22 09:05:10 +00:00

41 lines
1.7 KiB
Plaintext

$OpenBSD: patch-configure_ac,v 1.2 2009/05/22 09:05:10 sthen Exp $
--- configure.ac.orig Wed Apr 22 22:35:03 2009
+++ configure.ac Thu May 21 21:22:19 2009
@@ -195,7 +195,7 @@ AST_EXT_LIB_SETUP([NBS], [Network Broadcast Sound], [n
AST_EXT_LIB_SETUP([NCURSES], [ncurses], [ncurses])
AST_EXT_LIB_SETUP([NETSNMP], [Net-SNMP], [netsnmp])
AST_EXT_LIB_SETUP([NEWT], [newt], [newt])
-AST_EXT_LIB_SETUP([UNIXODBC], [unixODBC], [odbc])
+AST_EXT_LIB_SETUP([UNIXODBC], [unixODBC], [iodbc])
AST_EXT_LIB_SETUP([OGG], [OGG], [ogg])
AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk])
AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss])
@@ -1221,7 +1221,7 @@ fi
AST_EXT_LIB_CHECK([NEWT], [newt], [newtBell], [newt.h])
-AST_EXT_LIB_CHECK([UNIXODBC], [odbc], [SQLConnect], [sql.h], [])
+AST_EXT_LIB_CHECK([UNIXODBC], [iodbc], [SQLConnect], [sql.h], [-pthread])
AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], [])
@@ -1340,7 +1340,8 @@ if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "
AST_CHECK_OPENH323()
AST_CHECK_PWLIB_VERSION([OpenH323], [OPENH323], [openh323buildopts.h], [1], [17], [3])
AST_CHECK_OPENH323_BUILD()
- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
+ dnl PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
+ PLATFORM_OPENH323="h323"
AST_CHECK_PWLIB_BUILD([OpenH323], [OPENH323],
[Define if your system has the OpenH323 libraries.],
[#include "ptlib.h"
@@ -1435,7 +1436,7 @@ AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_f
AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [])
-AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc])
+AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc -logg])
AC_LANG_PUSH(C++)