From owner-freebsd-openoffice@FreeBSD.ORG Thu Jun 22 12:32:42 2006 Return-Path: X-Original-To: freebsd-openoffice@freebsd.org Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8730416A474; Thu, 22 Jun 2006 12:32:42 +0000 (UTC) (envelope-from pan@cnptia.embrapa.br) Received: from norma.cnptia.embrapa.br (norma.cnptia.embrapa.br [200.0.70.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id F31B9447D5; Thu, 22 Jun 2006 12:32:41 +0000 (GMT) (envelope-from pan@cnptia.embrapa.br) Received: from localhost (localhost.cnptia.embrapa.br [127.0.0.1]) by norma.cnptia.embrapa.br (Postfix) with ESMTP id 5A25745146; Thu, 22 Jun 2006 09:33:14 -0300 (BRT) Received: from [10.129.1.18] (m018.cnptia.embrapa.br [10.129.1.18]) by norma.cnptia.embrapa.br (Postfix) with ESMTP id 8A8B7450FE; Thu, 22 Jun 2006 09:33:12 -0300 (BRT) Message-ID: <449A8E00.2070405@cnptia.embrapa.br> Date: Thu, 22 Jun 2006 09:33:04 -0300 From: Carlos Fernando Assis Paniago User-Agent: Thunderbird 1.5.0.4 (X11/20060608) MIME-Version: 1.0 To: Jung-uk Kim , freebsd-openoffice@freebsd.org References: <4499C7B4.1060600@cnptia.embrapa.br> <200606211855.16389.jkim@FreeBSD.org> In-Reply-To: <200606211855.16389.jkim@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 Cc: Subject: Re: AMD64 native OOo working with the last patch X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 12:32:42 -0000 Jung-uk Kim escreveu: > On Wednesday 21 June 2006 06:27 pm, Carlos Fernando Assis Paniago > wrote: > >> Hi. For the first time my OOo 2.0.3rc5 with the last patches from >> Jung-uk Kim, is now working in my >> FreeBSD 6.1 with the last updates... I need to test if this patch >> does not broke the i386 instalation. >> > > You mean this patch, right? > > http://people.freebsd.org/~jkim/patch-sentinel > > >> Thanks Jung-uk Kim. Thanks /NAKATA Maho. >> > > Thanks for the feedback. > > >> I opened a very big document and everything until now is working... >> We need more test, but this is a wonderfull idea, I don't need the >> OOo from linux (32 bits) in emulation in my AMD64 machine..... It >> works native....Hip hip Hurra...... >> / >> > > That's actually the reason why I started the porting and I finally > removed Linux binary from my hard disk yesterday. ;-) > > Jung-uk Kim > /usr/ports/editors/openoffice.org-2.0/work/OOC680_m5/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx:58:1: warning: "NULL" redefined In file included from ../../../inc/sv.h:40, from ../../../inc/salframe.hxx:40, from ../../../unx/inc/plugins/gtk/gtkframe.hxx:50, from /usr/ports/editors/openoffice.org-2.0/work/OOC680_m5/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx:36: /usr/ports/editors/openoffice.org-2.0/work/OOC680_m5/solver/680/unxfbsdx.pro/inc/tools/solar.h:59:1: warning: this is the location of the previous definition if ( -e ../../../unxfbsdx.pro/slo/salnativewidgets-gtk.o) touch ../../../unxfbsdx.pro/slo/salnativewidgets-gtk.obj ------------------------------ this means that the definition of NULL is in solar.h... lets find were is this file m018# find . -name solar.h -print ./tools/inc/solar.h ./solver/680/unxfbsdx.pro/inc/tools/solar.h m018# that means that we need to look at tools/inc/solar.h #undef NULL #define NULL 0 than lets solve to #undef NULL #ifdef X86_64 #define NULL 0L #else #define NULL 0 #endif Whit this I supose we can get a lit bit furter instead of your patches... What do you thing about this? To change your patch to this simple one? Ok.. I have signed the license from sun (a long time ago, my name is twice in the list). -- Paniago -- Carlos F. A. Paniago pan@cnptia.embrapa.br http://www.cnptia.embrapa.br/ Fone: +55 (19) 3789-5815