summaryrefslogtreecommitdiff
path: root/debian/patches/0002-bigendian.patch
blob: dcd19001a23f2debbf73d90e7141fe12e7dc1302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: prevent build-error for big-endian systems
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Reviewed-by: 
Last-Update: 2014-05-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
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)
   {