summaryrefslogtreecommitdiffstats
path: root/textproc/gxmlviewer
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-04 18:05:32 +0000
committerijliao <ijliao@FreeBSD.org>2002-04-04 18:05:32 +0000
commitfcca62791514e1d9221975378e4647ebf9f0ee47 (patch)
treede054e306ef6327306d3cd1f640b4d07c4ba9359 /textproc/gxmlviewer
parent1f9fd81fd7e01c1e9e39b394dc6a9e88da102ea6 (diff)
downloadFreeBSD-ports-fcca62791514e1d9221975378e4647ebf9f0ee47.zip
FreeBSD-ports-fcca62791514e1d9221975378e4647ebf9f0ee47.tar.gz
fix build on bento due to libxml2 update
PR: 36749 Submitted by: Tilman Linneweh <tilman@arved.de>
Diffstat (limited to 'textproc/gxmlviewer')
-rw-r--r--textproc/gxmlviewer/files/patch-xmlformatter.c14
-rw-r--r--textproc/gxmlviewer/files/patch-xmlparser.c17
2 files changed, 31 insertions, 0 deletions
diff --git a/textproc/gxmlviewer/files/patch-xmlformatter.c b/textproc/gxmlviewer/files/patch-xmlformatter.c
new file mode 100644
index 0000000..6bde9ae
--- /dev/null
+++ b/textproc/gxmlviewer/files/patch-xmlformatter.c
@@ -0,0 +1,14 @@
+--- 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 @@
+
+ #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>
diff --git a/textproc/gxmlviewer/files/patch-xmlparser.c b/textproc/gxmlviewer/files/patch-xmlparser.c
new file mode 100644
index 0000000..8871d53
--- /dev/null
+++ b/textproc/gxmlviewer/files/patch-xmlparser.c
@@ -0,0 +1,17 @@
+--- src/xmlparser.c.orig Thu Apr 4 17:05:35 2002
++++ src/xmlparser.c Thu Apr 4 17:08:09 2002
+@@ -8,15 +8,9 @@
+
+ #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"
OpenPOWER on IntegriCloud