[packages] add preliminary freeswitch v1.0.4 package (closes: #4891)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17984 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
10
net/freeswitch/patches/101-trim.patch
Normal file
10
net/freeswitch/patches/101-trim.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -107,7 +107,6 @@ src/switch_config.c\
|
||||
src/switch_time.c\
|
||||
src/switch_odbc.c \
|
||||
libs/stfu/stfu.c\
|
||||
-src/switch_cpp.cpp\
|
||||
src/g711.c\
|
||||
src/switch_pcm.c\
|
||||
libs/libteletone/src/libteletone_detect.c\
|
25
net/freeswitch/patches/201-odbc.patch
Normal file
25
net/freeswitch/patches/201-odbc.patch
Normal file
@ -0,0 +1,25 @@
|
||||
--- a/build/config/odbc.m4
|
||||
+++ b/build/config/odbc.m4
|
||||
@@ -112,12 +112,13 @@ AC_ARG_WITH(odbc-include,
|
||||
fi])
|
||||
|
||||
if test "X$with_odbc" != "X"; then
|
||||
- if test "$with_odbc" != "yes"; then
|
||||
- ac_cv_odbc_where_lib=$with_odbc
|
||||
+ if test "$with_odbc" != "yes" -o "$with_odbc" != "no"; then
|
||||
+ ac_cv_odbc_where_lib=$with_odbc/lib
|
||||
ac_cv_odbc_where_inc=$with_odbc/include
|
||||
fi
|
||||
fi
|
||||
|
||||
+ if test "$with_odbc" != "no"; then
|
||||
if test "X$with_odbc_include" != "X"; then
|
||||
ac_cv_odbc_where_inc=$with_odbc_include
|
||||
fi
|
||||
@@ -159,5 +160,6 @@ AC_ARG_WITH(odbc-include,
|
||||
AC_SUBST(ODBC_LIB_FLAGS)
|
||||
AC_DEFINE([HAVE_ODBC],[1],[libodbc])
|
||||
fi
|
||||
+ fi ## test "$with_odbc" != "no" ##
|
||||
])
|
||||
|
22
net/freeswitch/patches/202-pthread.patch
Normal file
22
net/freeswitch/patches/202-pthread.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -196,7 +196,7 @@ fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread
|
||||
fs_ivrd_CFLAGS = $(AM_CFLAGS) -Ilibs/esl/src/include
|
||||
fs_ivrd_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS)
|
||||
freeswitch_CFLAGS = $(AM_CFLAGS) $(CORE_CFLAGS)
|
||||
-freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir)
|
||||
+freeswitch_LDFLAGS = $(AM_LDFLAGS) -lpthread -rpath $(libdir)
|
||||
freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la
|
||||
if ADD_LIBEDIT
|
||||
fs_cli_CFLAGS += -DHAVE_EDITLINE -Ilibs/libedit/src
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -578,7 +578,7 @@ fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread
|
||||
fs_ivrd_CFLAGS = $(AM_CFLAGS) -Ilibs/esl/src/include
|
||||
fs_ivrd_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS)
|
||||
freeswitch_CFLAGS = $(AM_CFLAGS) $(CORE_CFLAGS) $(am__append_2)
|
||||
-freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir)
|
||||
+freeswitch_LDFLAGS = $(AM_LDFLAGS) -lpthread -rpath $(libdir)
|
||||
freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la \
|
||||
$(am__append_3)
|
||||
@ADD_LIBEDIT_TRUE@fs_cli_LDADD = libs/libedit/src/.libs/libedit.a
|
Reference in New Issue
Block a user