1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../asterisk/no-mmu.patch.blackfin
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Some manual help for MMU-less builds (blackfin so far).
19 - Rene Rebe <rene@exactcode.de>
21 --- asterisk/configure 2009-03-16 17:39:06.000000000 +0100
22 +++ asterisk/configure 2009-03-16 17:39:36.000000000 +0100
23 @@ -11895,7 +11895,7 @@
25 if test "x$ac_cv_func_fork_works" = xcross; then
27 - *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux* | *-*-linux-uclibc* )
28 + *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux* | *-*-linux-uclibc* | bfin-*-* )
29 # Override, as these systems have only a dummy fork() stub
30 ac_cv_func_fork_works=no
32 --- asterisk/main/config.c 2009-03-16 17:39:06.000000000 +0100
33 +++ asterisk/main/config.c 2009-03-16 17:39:36.000000000 +0100
38 -#define AST_INCLUDE_GLOB 1
39 #ifdef AST_INCLUDE_GLOB
40 #if defined(__Darwin__) || defined(__CYGWIN__)
41 #define GLOB_ABORTED GLOB_ABEND
42 --- asterisk-1.4.18/utils/Makefile.vanilla 2009-03-16 17:39:06.000000000 +0100
43 +++ asterisk-1.4.18/utils/Makefile 2009-03-16 17:39:36.000000000 +0100
46 include $(ASTTOPDIR)/Makefile.rules
48 +# TODO: check for some kind of NO_MMU
49 +UTILS:=$(filter-out muted,$(UTILS))
51 ifeq ($(OSARCH),SunOS)
53 UTILS:=$(filter-out muted,$(UTILS))