Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 19:06:31 +0200
From:      Vasil Dimov <vd@FreeBSD.org>
To:        Jason Evans <jasone@FreeBSD.org>
Cc:        pfgshield-freebsd@yahoo.com, freebsd-ports@FreeBSD.org
Subject:   Re: Suggested port: open source Xara Xtreme
Message-ID:  <20060321170631.GA57552@qlovarnika.bg.datamax>
In-Reply-To: <442023DF.2060303@FreeBSD.org>
References:  <20060321110427.GA43879@qlovarnika.bg.datamax> <20060321142058.7260.qmail@web32705.mail.mud.yahoo.com> <20060321145231.GA52957@qlovarnika.bg.datamax> <442023DF.2060303@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <vd@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060321170631.GA57552>