aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-05 02:05:32 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-05 02:05:32 +0800
commitfcca62791514e1d9221975378e4647ebf9f0ee47 (patch)
treede054e306ef6327306d3cd1f640b4d07c4ba9359 /textproc
parent1f9fd81fd7e01c1e9e39b394dc6a9e88da102ea6 (diff)
downloadfreebsd-ports-graphics-fcca62791514e1d9221975378e4647ebf9f0ee47.tar.gz
freebsd-ports-graphics-fcca62791514e1d9221975378e4647ebf9f0ee47.tar.zst
freebsd-ports-graphics-fcca62791514e1d9221975378e4647ebf9f0ee47.zip
fix build on bento due to libxml2 update
PR: 36749 Submitted by: Tilman Linneweh <tilman@arved.de>
Diffstat (limited to 'textproc')
-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 00000000000..6bde9aec0f6
--- /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 00000000000..8871d5385d2
--- /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"