From owner-freebsd-ports@FreeBSD.ORG Tue Mar 21 17:06:32 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EACBB16A400; Tue, 21 Mar 2006 17:06:32 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E7C943D53; Tue, 21 Mar 2006 17:06:32 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 8445CB857; Tue, 21 Mar 2006 19:06:31 +0200 (EET) Received: (nullmailer pid 57792 invoked by uid 1002); Tue, 21 Mar 2006 17:06:31 -0000 Date: Tue, 21 Mar 2006 19:06:31 +0200 From: Vasil Dimov To: Jason Evans Message-ID: <20060321170631.GA57552@qlovarnika.bg.datamax> References: <20060321110427.GA43879@qlovarnika.bg.datamax> <20060321142058.7260.qmail@web32705.mail.mud.yahoo.com> <20060321145231.GA52957@qlovarnika.bg.datamax> <442023DF.2060303@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <442023DF.2060303@FreeBSD.org> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Cc: pfgshield-freebsd@yahoo.com, freebsd-ports@FreeBSD.org Subject: Re: Suggested port: open source Xara Xtreme X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 17:06:33 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 21, 2006 at 08:03:43AM -0800, Jason Evans wrote: > Vasil Dimov wrote: > >On Tue, Mar 21, 2006 at 03:20:58PM +0100, pfgshield-freebsd@yahoo.com=20 > >wrote: > > > >>Hi Vasil; > >> > >>--- Vasil Dimov ha scritto:=20 > >>... > >> > >>>> http://www.xaraxtreme.org/ > >In spite of the scary errors I continued hacking and hit some serious > >issue: they use a function malloc_usable_size() which is defined like > >this on linux, but unavailable for FreeBSD: > > > >/* Report the number of usable allocated bytes associated with allocated > > chunk __ptr. */ > >extern size_t malloc_usable_size __MALLOC_P ((__malloc_ptr_t __ptr)); > > > >Any ideas for alternatives? >=20 > FreeBSD doesn't have malloc_usable_size(). In general, it isn't needed= =20 > (and it is definitely a non-standard function). You should be able to=20 > restructure the Xara Xtreme source to avoid its use. It isn't needed when developing new software, but it would greatly facilitate porting efforts of software that uses it. Yes, I can deep-hack the software to not use that function but this would mean a lot of changes and will be tedious to support with future versions of the software. I will try to use devel/libdlmalloc to see what happens, e.g. whether there are other "unresolvable" problems with the source :) Greetings! --=20 Vasil Dimov gro.DSBeerF@dv Testing can show the presense of bugs, but not their absence. -- Edsger W. Dijkstra --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFEIDKXFw6SP/bBpCARAquvAJ9aFig3GJ88BQi8kotbDbQz55isxgCfUXDe TYyaCkiO59RPgK3xKDnjHAI= =JT79 -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--