[Asterisk-bsd] new zaptel-0.5 in ports tree
Michael G. Petry
asterisk-bsd@lists.digium.com
Fri, 18 Jun 2004 18:08:10 -0400
PHK's changes for the dev_t stuff will hit you if you're running CURRENT.
in zaptel.c
< int zt_open(dev_t dev, int flag, int otyp, struct thread *threadp)
---
> int zt_open(struct cdev *dev, int flag, int otyp, struct thread *threadp)
likewise in the test/Makefile I had to include the popt and slang libs
13c13
< ${CC} ${CFLAGS} -o zttool zttool.o -L../ztcfg -ltonezone -L${LOCALBASE}/lib -lnewt
---
> ${CC} ${CFLAGS} -o zttool zttool.o -L../ztcfg -ltonezone -L${LOCALBASE}/lib -lslang -lpopt -lnewt
The dev_t changes likely need another #if based on __FreeBSD_version
> Much to my suprise, when cvsup'ing the ports tree last evening, I found
> that there had been a new misc/zaptel commited yesterday:
>
> $FreeBSD: ports/misc/zaptel/Makefile,v 1.5 2004/06/17 17:01:33 sobomax Exp $
>
> I am unable to get it to compile though. Am I the only one with this
> problem?
>
> I am running a 5.2-CURRENT kernel and world from Mon Jun 14 22:30:46 CDT
> 2004.
>
> --
> Arnold Cavazos, Jr. abcjr at abcjr . net
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
Michael Petry