Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2002 11:44:54 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        Joe Marcus Clarke <marcus@FreeBSD.ORG>, gnome@FreeBSD.ORG
Subject:   Re: libxml2 issue? (was Re: Ogle patch)
Message-ID:  <20020413144517.14009.qmail@exxodus.fedaykin.here>
In-Reply-To: <200204130800.g3D80wZ25831@vega.vega.com>; from sobomax@FreeBSD.org on Sat, Apr 13, 2002 at 11:00:36AM %2B0300
References:  <no.id> <200204130800.g3D80wZ25831@vega.vega.com>

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

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Apr 13, 2002 at 11:00:36AM +0300, Maxim Sobolev wrote:
> No, www.libxml.org says that `#include <libxml/...>' is The Only True
> Way[tm] both for 1.x.x and 2.x.x versions of libxml. We shouldn't
> encourage noncompliant behaviour.

	That's the sort of ruling I was hoping for. So...
if it's the only true way, we should have libxml2's libxml.m4
fixed. I mean, the patch attached should be sent back to developers
so as to have a clean next release.

> > 	Another portability issue: gtk.m4 installed by gtk12.
> > It is FreeBSD specific, configure scripts generated with it
> > do not work in other systems. I strongly urge the attached patch
> > to be added. It works with autoconf both 2.53 and 2.13. It should
> > be send back to gtk12 developers.
> 
> I'll look into it. Actually we could just remove that patch completely,
> because all FreeBSD ports cope with the problem by setting GTK_CONFIG
> environment variable.

	I know but it wouldn't hurt to have compatibility out of
the box. This really should be sent back to developers. Someday
we might not need tweaking at all. :)

	Regards,

--
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-libxml2:libxml.m4"

--- libxml.m4.orig	Sat Apr 13 11:38:45 2002
+++ libxml.m4	Sat Apr 13 11:40:46 2002
@@ -253,7 +253,7 @@
       AC_TRY_RUN([
 #include <stdlib.h>
 #include <stdio.h>
-#include <xmlversion.h>
+#include <libxml/xmlversion.h>
 
 int 
 main()
@@ -348,7 +348,7 @@
           CFLAGS="$CFLAGS $XML_CFLAGS"
           LIBS="$LIBS $XML_LIBS"
           AC_TRY_LINK([
-#include <xmlversion.h>
+#include <libxml/xmlversion.h>
 #include <stdio.h>
 ],      [ LIBXML_TEST_VERSION; return 0;],
         [ echo "*** The test program compiled, but did not run. This usually means"

--wac7ysb48OaltWcw--

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




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