Bug 36749 - Fix Build after libxml2 updatei: textproc/gxmlviewer
Summary: Fix Build after libxml2 updatei: textproc/gxmlviewer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-04 16:10 UTC by Tilman Linneweh
Modified: 2002-04-04 19:05 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (122 bytes, patch)
2002-04-04 16:10 UTC, Tilman Linneweh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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