diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-03-11 17:57:15 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-03-11 17:57:15 +0200 |
commit | c4a61b70d3194fe0cf90e5945bb83842fec96c28 (patch) | |
tree | 645483f8eac1c751cfb32997450679ffcebcd381 /testing/asterisk/asterisk-02-1.6.0-uclibc.patch | |
parent | 666e5259b9d4d31eff65d24799ebe61f682d2603 (diff) | |
download | aports-c4a61b70d3194fe0cf90e5945bb83842fec96c28.tar.bz2 aports-c4a61b70d3194fe0cf90e5945bb83842fec96c28.tar.xz |
testing/asterisk: initial commit
it puts everything to a big monster .apk. a lot of work is still needed
to split it into approriate sub packages and test them. but this is a
good starting point.
Diffstat (limited to 'testing/asterisk/asterisk-02-1.6.0-uclibc.patch')
-rw-r--r-- | testing/asterisk/asterisk-02-1.6.0-uclibc.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/asterisk/asterisk-02-1.6.0-uclibc.patch b/testing/asterisk/asterisk-02-1.6.0-uclibc.patch new file mode 100644 index 000000000..774baf53e --- /dev/null +++ b/testing/asterisk/asterisk-02-1.6.0-uclibc.patch @@ -0,0 +1,30 @@ +Index: Makefile +=================================================================== +--- a/Makefile.orig 2008-01-29 19:22:47.000000000 +0200 ++++ b/Makefile 2008-03-27 13:13:34.000000000 +0200 +@@ -259,6 +259,10 @@ + ASTCFLAGS+=-pthread + endif + ++ifeq ($(OSARCH),linux-uclibc) ++ AST_LIBS+=-lpthread -ldl ++endif ++ + ifeq ($(OSARCH),SunOS) + ASTCFLAGS+=-Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include -D_XPG4_2 + endif +Index: utils/Makefile +=================================================================== +--- a/utils/Makefile.orig 2008-03-27 13:14:16.000000000 +0200 ++++ b/utils/Makefile 2008-03-27 13:15:06.000000000 +0200 +@@ -29,6 +29,10 @@ + UTILS:=$(filter-out muted,$(UTILS)) + endif + ++ifeq ($(OSARCH),linux-uclibc) ++ LIBS+=-lpthread -lm -ldl ++endif ++ + ifeq ($(OSARCH),OpenBSD) + UTILS:=$(filter-out muted,$(UTILS)) + endif |