Date: Wed, 3 Nov 2010 10:27:57 +0000 (GMT) From: Iain Hibbert <plunky@rya-online.net> To: freebsd-bluetooth@freebsd.org Subject: obexapp should not use libbsdxml Message-ID: <alpine.NEB.2.00.1011031008260.1738@galant.ukfsn.org>
next in thread | raw e-mail | index | archive | help
Hi, according to the libbsdxml manpage, http://www.freebsd.org/cgi/man.cgi?query=libbsdxml&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE&format=html it should not really be used by external programs.. using expat directly (as per patch below) will cut down on a patch that is required on NetBSD + expat dependency would need to be added in ports/comms/obexapp (I guess that translating expat to builtin bsdxml could feature automatically in ports framework using ln -s) iain --- Makefile.orig 2010-01-08 18:31:22.000000000 +0000 +++ Makefile 2010-11-03 10:11:34.000000000 +0000 @@ -16,9 +16,9 @@ CFLAGS+= -I/usr/local/include \ -I/usr/local/include/openobex -DPADD= ${LIBBLUETOOTH} ${LIBSDP} ${LIBBSDXML} ${LIBREADLINE} +DPADD= ${LIBBLUETOOTH} ${LIBSDP} ${LIBREADLINE} LDADD= -L/usr/lib -L/usr/local/lib \ - -lbluetooth -lsdp -lopenobex -lbsdxml -lreadline -liconv + -lbluetooth -lsdp -lopenobex -lexpat -lreadline -liconv .include <bsd.prog.mk> --- util.c.orig 2010-10-22 07:29:06.000000000 +0100 +++ util.c 2010-01-08 19:51:02.000000000 +0000 @@ -30,9 +30,9 @@ */ #include <bluetooth.h> -#include <bsdxml.h> #include <ctype.h> #include <errno.h> +#include <expat.h> #include <iconv.h> #include <langinfo.h> #include <libgen.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.NEB.2.00.1011031008260.1738>