[Asterisk-cvs] asterisk Makefile,1.173,1.174 channel.c,1.212,1.213

malcolmd at lists.digium.com malcolmd at lists.digium.com
Fri Jul 8 17:45:34 CDT 2005


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv23816

Modified Files:
	Makefile channel.c 
Log Message:
Bug #4652 - Require libstrfunc for FreeBSD.  Thanks Corydon


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- Makefile	8 Jul 2005 21:14:34 -0000	1.173
+++ Makefile	8 Jul 2005 21:54:07 -0000	1.174
@@ -235,7 +235,7 @@
 CFLAGS+=-D__Darwin__
 endif
 ifeq (${OSARCH},FreeBSD)
-LIBS+=-lcrypto
+LIBS+=-lcrypto -lstrfunc
 endif
 ifeq (${OSARCH},NetBSD)
 LIBS+=-lpthread -lcrypto -lm -L$(CROSS_COMPILE_TARGET)/usr/local/lib -L$(CROSS_COMPILE_TARGET)/usr/pkg/lib -lncurses

Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- channel.c	8 Jul 2005 21:14:34 -0000	1.212
+++ channel.c	8 Jul 2005 21:54:07 -0000	1.213
@@ -31,6 +31,12 @@
 #error "You need newer zaptel!  Please cvs update zaptel"
 #endif
 #endif
+#ifdef __FreeBSD__
+#include <strfunc.h>
+#ifndef __STRFUNC_H__
+#error "Please install the strfunc library located in the ports collection at /usr/ports/devel/libstrfunc"
+#endif
+#endif
 
 #include "asterisk.h"
 




More information about the svn-commits mailing list