Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2002 13:00:15 -0800 (PST)
From:      Mike Durian <durian@boogie.com>
To:        openoffice@FreeBSD.org
Subject:   Re: ports/44511: openoffice-devel won't build
Message-ID:  <200211012100.gA1L0F78025297@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/44511; it has been noted by GNATS.

From: Mike Durian <durian@boogie.com>
To: freebsd-gnats-submit@FreeBSD.org, durian@boogie.com
Cc:  
Subject: Re: ports/44511: openoffice-devel won't build
Date: Fri, 1 Nov 2002 13:58:43 -0700

 --------------Boundary-00=_VX0XGV51SO0B9A0TQ74G
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 I don't think this is the proper fix, but it does get things going.
 On Oct. 4, 2002, FreeBSD added the expat library to the base system,
 but named the include file bsdxml.h.  There was no __FreeBSD_version
 bump for this.  The closest was the change on Oct 15 from 500040 to
 500041.
 
 The better fix is probably to check for the existance of bsdxml.h in
 one of the config files, but I didn't really want to dig into that
 right now.
 
 mike
 
 --------------Boundary-00=_VX0XGV51SO0B9A0TQ74G
 Content-Type: text/x-diff;
   charset="us-ascii";
   name="ne_xml.c.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="ne_xml.c.patch"
 
 --- ne_xml.c.orig	Fri Nov  1 13:35:21 2002
 +++ ne_xml.c	Fri Nov  1 13:54:07 2002
 @@ -41,7 +41,16 @@
  #if defined(HAVE_EXPAT_H)
  #include <expat.h>
  #elif defined(HAVE_XMLPARSE_H)
 +#if defined(__FreeBSD__)
 +#include <osreldate.h>
 +#if __FreeBSD_version >= 500041
 +#include <bsdxml.h>
 +#else
  #include <xmlparse.h>
 +#endif /* __FreeBSD_version */
 +#else
 +#include <xmlparse.h>
 +#endif /* __FreeBSD__ */
  #elif defined(HAVE_XMLTOK_XMLPARSE_H)
  #include <xmltok/xmlparse.h>
  #else
 
 --------------Boundary-00=_VX0XGV51SO0B9A0TQ74G--
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-openoffice" in the body of the message




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