summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-xsd_xsdcxx-rename.patch136
-rw-r--r--debian/patches/0002-bigendian.patch26
-rw-r--r--debian/patches/series2
3 files changed, 164 insertions, 0 deletions
diff --git a/debian/patches/0001-xsd_xsdcxx-rename.patch b/debian/patches/0001-xsd_xsdcxx-rename.patch
new file mode 100644
index 0000000..fd4200b
--- /dev/null
+++ b/debian/patches/0001-xsd_xsdcxx-rename.patch
@@ -0,0 +1,136 @@
+Description: change docu from xsd to xsdcxx
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Reviewed-by:
+Last-Update: 2014-04-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: work/xsd/documentation/xsd.1
+===================================================================
+--- work.orig/xsd/documentation/xsd.1 2010-04-22 13:28:43.000000000 +0200
++++ work/xsd/documentation/xsd.1 2010-11-19 10:15:53.824581814 +0100
+@@ -1,16 +1,16 @@
+ .\" Process this file with
+ .\" groff -man -Tascii xsd.1
+ .\"
+-.TH XSD 1 "April 2010" "XSD 3.3.0"
++.TH XSDCXX 1 "April 2010" "XSD 3.3.0"
+ .SH NAME
+-xsd \- W3C XML Schema to C++ Compiler
++xsdcxx \- W3C XML Schema to C++ Compiler
+ .\"
+ .\"
+ .\"
+ .\"--------------------------------------------------------------------
+ .SH SYNOPSIS
+ .\"--------------------------------------------------------------------
+-.B xsd
++.B xsdcxx
+ .I command
+ .B [
+ .I options
+@@ -20,19 +20,19 @@
+ .I file
+ .B ...]
+ .in
+-.B xsd help
++.B xsdcxx help
+ .B [
+ .I command
+ .B ]
+ .in
+-.B xsd version
++.B xsdcxx version
+ .\"
+ .\"
+ .\"
+ .\"--------------------------------------------------------------------
+ .SH DESCRIPTION
+ .\"--------------------------------------------------------------------
+-.B xsd
++.B xsdcxx
+ generates vocabulary-specific, statically-typed C++ mapping from W3C XML
+ Schema definitions. Particular mapping to produce is selected by a
+ .IR command .
+@@ -96,7 +96,7 @@
+ .PP
+ .RS
+ .RS 3
+-.B xsd help
++.B xsdcxx help
+ .I command
+ .RE
+ .PP
+@@ -203,7 +203,7 @@
+ with namespace
+ .B http://example.com/hello
+ and you run
+-.B xsd
++.B xsdcxx
+ on this file, then the string in question will be:
+
+ .B hello.xsd. http://example.com/hello
+@@ -1877,7 +1877,7 @@
+ .\"
+ .SH DIAGNOSTICS
+ If the input file is not a valid W3C XML Schema definition,
+-.B xsd
++.B xsdcxx
+ will issue diagnostic messages to
+ .B STDERR
+ and exit with non-zero exit code.
+Index: work/xsd-srcdir/xsd/documentation/xsd.xhtml
+===================================================================
+--- work.orig/xsd/documentation/xsd.xhtml 2010-02-22 13:38:06.000000000 +0100
++++ work/xsd/documentation/xsd.xhtml 2010-11-19 10:15:11.900404798 +0100
+@@ -50,19 +50,19 @@
+
+ <h1>NAME</h1>
+
+- <p>xsd - W3C XML Schema to C++ Compiler</p>
++ <p>xsdcxx - W3C XML Schema to C++ Compiler</p>
+
+ <h1>SYNOPSIS</h1>
+
+ <dl id="synopsis">
+- <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
+- <dt><code><b>xsd help</b> [<i>command</i>]</code></dt>
+- <dt><code><b>xsd version</b></code></dt>
++ <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
++ <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt>
++ <dt><code><b>xsdcxx version</b></code></dt>
+ </dl>
+
+ <h1>DESCRIPTION</h1>
+
+- <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed
++ <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed
+ C++ mapping from W3C XML Schema definitions. Particular mapping to
+ produce is selected by a <code><i>command</i></code>. Each mapping has
+ a number of mapping-specific <code><i>options</i></code> that should
+@@ -104,7 +104,7 @@
+
+ <dt><code><b>help</b></code></dt>
+ <dd>Print usage information and exit. Use
+- <p><code><b>xsd help</b> <i>command</i></code></p>
++ <p><code><b>xsdcxx help</b> <i>command</i></code></p>
+ for command-specific help.
+ </dd>
+
+@@ -174,7 +174,7 @@
+
+ <p>For example, if you have file <code><b>hello.xsd</b></code>
+ with namespace <code><b>http://example.com/hello</b></code> and you run
+- <code><b>xsd</b></code> on this file, then the string in question
++ <code><b>xsdcxx</b></code> on this file, then the string in question
+ will be:</p>
+
+ <p><code><b>hello.xsd. http://example.com/hello</b></code></p>
+@@ -1575,7 +1575,7 @@
+ <h1>DIAGNOSTICS</h1>
+
+ <p>If the input file is not a valid W3C XML Schema definition,
+- <code><b>xsd</b></code> will issue diagnostic messages to STDERR
++ <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR
+ and exit with non-zero exit code.</p>
+
+ <h1>BUGS</h1>
diff --git a/debian/patches/0002-bigendian.patch b/debian/patches/0002-bigendian.patch
new file mode 100644
index 0000000..a0c2f51
--- /dev/null
+++ b/debian/patches/0002-bigendian.patch
@@ -0,0 +1,26 @@
+Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx
+===================================================================
+--- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx 2010-04-28 08:58:09.000000000 +0200
++++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx 2014-05-18 12:03:06.243944878 +0200
+@@ -57,7 +57,7 @@
+ xml_schema::namespace_infomap map;
+ map["t"].name = "test";
+
+- root (std::cout, *r, map, "UCS-4LE");
++ root (std::cout, *r, map, "ASCII");
+ }
+ catch (xml_schema::exception const& e)
+ {
+Index: trunk/xsd/tests/cxx/tree/encoding/wchar/driver.cxx
+===================================================================
+--- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/driver.cxx 2010-04-28 08:58:09.000000000 +0200
++++ trunk/xsd/tests/cxx/tree/encoding/wchar/driver.cxx 2014-05-18 12:03:33.164482484 +0200
+@@ -47,7 +47,7 @@
+ xml_schema::namespace_infomap map;
+ map[L"t"].name = L"test";
+
+- root (std::cout, *r, map, L"UCS-4LE");
++ root (std::cout, *r, map, L"ASCII");
+ }
+ catch (xml_schema::exception const& e)
+ {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ba3bd82
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0002-bigendian.patch
+0001-xsd_xsdcxx-rename.patch