Bug 36749

Summary: Fix Build after libxml2 updatei: textproc/gxmlviewer
Product: Ports & Packages Reporter: Tilman Linneweh <tilman>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me CC: tilman
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Tilman Linneweh 2002-04-04 16:10:01 UTC
	bento reported build failure.

Fix: Two new patches in the files dir:

cat files/patch-xmlformatter.c
#include <string.h>
 #include <gtk/gtk.h>
-#include <SAX.h>
-#include <parser.h>
-#include <parserInternals.h>
+#include <libxml/SAX.h>
+#include <libxml/parser.h>
+#include <libxml/parserInternals.h>

 #include <unistd.h>

cat files/patch-xmlparser.c


#include <string.h>
 #include <gtk/gtk.h>
-#ifndef WIN32
-#include <SAX.h>
-#include <parser.h>
-#include <parserInternals.h>
-#else
 #include <libxml/SAX.h>
 #include <libxml/parser.h>
 #include <libxml/parserInternals.h>
-#endif
 #include "xmlparser.h"
 #include "support.h"--XAw9wr8482I45kPRAsezP0ueooZe66vtsqhNOFmG5RhMGt94
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- src/extras/xmlformatter.c.orig      Thu Apr  4 15:47:47 2002
+++ src/extras/xmlformatter.c   Thu Apr  4 15:48:50 2002
@@ -8,9 +8,9 @@
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-04-04 19:05:44 UTC
State Changed
From-To: open->closed

committed, thanks