aboutsummaryrefslogtreecommitdiff
path: root/textproc/gxmlviewer
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-04 18:05:32 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-04 18:05:32 +0000
commit3a387280713324c9d5999a6ed2a3cd1caf2a2f06 (patch)
treef17b98968e0af08051b4589f7275854b917d0d0f /textproc/gxmlviewer
parent1e8c0a0b0042ca68f0f29284ec40c75e6a99f626 (diff)
downloadports-3a387280713324c9d5999a6ed2a3cd1caf2a2f06.tar.gz
ports-3a387280713324c9d5999a6ed2a3cd1caf2a2f06.zip
fix build on bento due to libxml2 update
PR: 36749 Submitted by: Tilman Linneweh <tilman@arved.de>
Notes
Notes: svn path=/head/; revision=57324
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 000000000000..6bde9aec0f69
--- /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 000000000000..8871d5385d23
--- /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"