Update of /cvsroot/leaf/devel/faino/asterisk/bristuff02
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv14768

Added Files:
        asterisk-150 asterisk-170 asterisk-180 asterisk-200 
Log Message:

 ----------------------------------------------------------------------
 Added Files:
        asterisk-150 asterisk-170 asterisk-180 asterisk-200 
 ----------------------------------------------------------------------


--- NEW FILE: asterisk-150 ---
--- baseline/asterisk/dns.c     2005-08-13 19:23:33.000000000 -0700
+++ asterisk/dns.c      2005-09-10 17:21:07.807830278 -0700
@@ -156,7 +156,7 @@
        }
        return 0;
 }
-
+#undef res_ninit /* no support in uClibc */
 #if defined(res_ninit)
 #define HAS_RES_NINIT
 #else

--- NEW FILE: asterisk-200 ---
--- Makefile.ori        2006-06-06 09:17:00.119719565 +0000
+++ Makefile    2006-06-06 09:18:46.908987563 +0000
@@ -220,7 +220,7 @@
 CFLAGS+=-DPOLLCOMPAT
 else
 ASTLINK=-Wl,-E 
-SOLINK=-shared -Xlinker -x
+SOLINK=-shared -Xlinker -x -L$(BRISTUFF_TARGET_DIR)/usr/lib
 endif
 
 ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/sys/poll.h),)

--- NEW FILE: asterisk-180 ---
--- baseline/asterisk/asterisk.c        2005-11-07 20:13:18.000000000 -0800
+++ asterisk/asterisk.c 2005-11-11 18:35:03.159183765 -0800
@@ -1881,13 +1881,14 @@
                        }
                } else if (!strcasecmp(v->name, "maxload")) {
                        double test[1];
-
+#if(0)
                        if (getloadavg(test, 1) == -1) {
                                ast_log(LOG_ERROR, "Cannot obtain load average 
on this system. 'maxload' option disabled.\n");
                                option_maxload = 0.0;
                        } else if ((sscanf(v->value, "%lf", &option_maxload) != 
1) || (option_maxload < 0.0)) {
                                option_maxload = 0.0;
                        }
+#endif
                /* What user to run as */
                } else if (!strcasecmp(v->name, "runuser")) {
                        ast_copy_string(ast_config_AST_RUN_USER, v->value, 
sizeof(ast_config_AST_RUN_USER));

--- NEW FILE: asterisk-170 ---
--- baseline/asterisk/pbx.c     2005-11-10 16:32:45.000000000 -0800
+++ asterisk/pbx.c      2005-11-11 18:34:27.951478429 -0800
@@ -2455,6 +2455,7 @@
                        failed = -1;
                }
        }
+#if(0)
        if (option_maxload) {
                getloadavg(&curloadavg, 1);
                if (curloadavg >= option_maxload) {
@@ -2462,6 +2463,7 @@
                        failed = -1;
                }
        }
+#endif
        if (!failed)
                countcalls++;   
        ast_mutex_unlock(&maxcalllock);


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to