diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-04 11:22:27 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-04 11:22:27 +0800 |
commit | f43e02ef9d5ec06c7749e789f938b5b8a95d149e (patch) | |
tree | cf56565ef6cbf1c1a77690cd1ae9e83399b9a615 /textproc/gxmlviewer/files | |
parent | 09c97babd10dc22afe3b9dc54f0350d6c4356a83 (diff) | |
download | marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.gz marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.bz2 marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.lz marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.xz marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.zst marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.zip |
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8810 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/gxmlviewer/files')
-rw-r--r-- | textproc/gxmlviewer/files/patch-configure | 25 | ||||
-rw-r--r-- | textproc/gxmlviewer/files/patch-xmlformatter.c | 14 | ||||
-rw-r--r-- | textproc/gxmlviewer/files/patch-xmlparser.c | 17 |
3 files changed, 56 insertions, 0 deletions
diff --git a/textproc/gxmlviewer/files/patch-configure b/textproc/gxmlviewer/files/patch-configure new file mode 100644 index 000000000..83129c294 --- /dev/null +++ b/textproc/gxmlviewer/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Thu Oct 23 19:31:15 2003 ++++ configure Thu Oct 23 19:41:08 2003 +@@ -4106,7 +4106,7 @@ + else + echo $ac_n "checking version of bison""... $ac_c" 1>&6 + echo "configure:4109: checking version of bison" >&5 +- ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'` ++ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +@@ -4195,9 +4195,10 @@ + echo $ac_n "checking for libxml >= 2.3.1""... $ac_c" 1>&6 + echo "configure:4197: checking for libxml >= 2.3.1" >&5 + if xml2-config --libs > /dev/null 2>&1; then +- vers=`xml2-config --version | sed -e "s/xml-//" -e 's/cvs$//' -e 's/pre$//' | \ +- awk 'BEGIN { FS = "."; } { print $3;}'` +- if test "$vers" -ge 1; then ++ vers=`xml2-config --version | sed -e "s/xml-//" -e 's/cvs$//' -e 's/pre$//'` ++ vers_minor=`echo ${vers} | awk 'BEGIN { FS = "."; } { print $2;}'` ++ vers_rev=`echo ${vers} | awk 'BEGIN { FS = "."; } { print $3;}'` ++ if test "$vers_minor" -gt 3 -o "$vers_minor" -ge 3 -a "$vers_rev" -ge 1; then + echo "$ac_t""found ("$vers")" 1>&6 + XML_CFLAGS="`xml2-config --cflags`" + XML_LIBS="`xml2-config --libs`" diff --git a/textproc/gxmlviewer/files/patch-xmlformatter.c b/textproc/gxmlviewer/files/patch-xmlformatter.c new file mode 100644 index 000000000..6bde9aec0 --- /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 000000000..8871d5385 --- /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" |