From owner-freebsd-ports@FreeBSD.ORG  Tue Mar 21 14:52:33 2006
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
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 A7C9416A401;
	Tue, 21 Mar 2006 14:52:33 +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 3238843D76;
	Tue, 21 Mar 2006 14:52:33 +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 D16AEB857;
	Tue, 21 Mar 2006 16:52:31 +0200 (EET)
Received: (nullmailer pid 53518 invoked by uid 1002);
	Tue, 21 Mar 2006 14:52:31 -0000
Date: Tue, 21 Mar 2006 16:52:31 +0200
From: Vasil Dimov <vd@FreeBSD.org>
To: pfgshield-freebsd@yahoo.com
Message-ID: <20060321145231.GA52957@qlovarnika.bg.datamax>
References: <20060321110427.GA43879@qlovarnika.bg.datamax>
	<20060321142058.7260.qmail@web32705.mail.mud.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20060321142058.7260.qmail@web32705.mail.mud.yahoo.com>
X-OS: FreeBSD 6.0-STABLE
User-Agent: Mutt/1.5.11
Cc: 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 <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Mar 2006 14:52:33 -0000

On Tue, Mar 21, 2006 at 03:20:58PM +0100, pfgshield-freebsd@yahoo.com wrote:
> Hi Vasil;
> 
> --- Vasil Dimov <vd@FreeBSD.org> ha scritto: 
> ...
> > > 
> > >      http://www.xaraxtreme.org/
> > > 
> > Looks great, but look at the following:
> > 
> 
> Thanks for trying it doesn't look easy or small task.
> 
> Did you notice the requisites say you have to use a gcc > 3.4 ?? It also wants
> wxWidgets 2.6.3-RC2 (2.6.3 is not yet released) and a quick look at Freshports
> says we don't have it yet.
Yes, I am trying to compile with the 6.0 stock compiler (3.4.4). I also
modified x11-toolkits/wxgtk26-unicode, x11-toolkits/wxgtk26 and
x11-toolkits/wxgtk26-common so that they install 2.6.3-rc2

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?

-- 
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presense of bugs, but not their absence.
                -- Edsger W. Dijkstra