From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 3 10:28:25 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A20C31065672 for ; Wed, 3 Nov 2010 10:28:25 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from mail.ukfsn.org (mail.ukfsn.org [77.75.108.10]) by mx1.freebsd.org (Postfix) with ESMTP id 675CB8FC1B for ; Wed, 3 Nov 2010 10:28:25 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id C31A1DEC72 for ; Wed, 3 Nov 2010 10:28:23 +0000 (GMT) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id SGMDMtSjCr5x for ; Wed, 3 Nov 2010 10:28:23 +0000 (GMT) Received: from galant.ukfsn.org (unknown [89.194.39.203]) by mail.ukfsn.org (Postfix) with ESMTP id 473F6DEC71 for ; Wed, 3 Nov 2010 10:28:23 +0000 (GMT) Received: by galant.ukfsn.org (Postfix, from userid 1000) id 05DAA260261; Wed, 3 Nov 2010 10:27:58 +0000 (GMT) Date: Wed, 3 Nov 2010 10:27:57 +0000 (GMT) From: Iain Hibbert To: freebsd-bluetooth@freebsd.org Message-ID: User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: obexapp should not use libbsdxml X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 10:28:25 -0000 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 --- 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 -#include #include #include +#include #include #include #include