summarylogtreecommitdiffstats
path: root/001-graphite2-1.3.8-win64.patch
diff options
context:
space:
mode:
Diffstat (limited to '001-graphite2-1.3.8-win64.patch')
-rw-r--r--001-graphite2-1.3.8-win64.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/001-graphite2-1.3.8-win64.patch b/001-graphite2-1.3.8-win64.patch
new file mode 100644
index 00000000000..cd00c3d6e4c
--- /dev/null
+++ b/001-graphite2-1.3.8-win64.patch
@@ -0,0 +1,26 @@
+--- graphite2-1.3.8/src/inc/json.h.orig 2016-04-01 03:31:38.543833400 -0400
++++ graphite2-1.3.8/src/inc/json.h 2016-04-01 03:38:38.112543400 -0400
+@@ -86,6 +86,10 @@ public:
+ json & operator << (number) throw();
+ json & operator << (integer) throw();
+ json & operator << (long unsigned int d) throw();
++#ifdef _WIN32
++ json & operator << (unsigned __int64 d) throw();
++ json & operator << (__int64 d) throw();
++#endif
+ json & operator << (boolean) throw();
+ json & operator << (_null_t) throw();
+ json & operator << (_context_t) throw();
+--- graphite2-1.3.8/src/json.cpp.orig 2016-04-01 03:31:38.550833700 -0400
++++ graphite2-1.3.8/src/json.cpp 2016-04-01 03:41:05.363588200 -0400
+@@ -133,6 +133,10 @@ json & json::operator << (json::number f
+ }
+ json & json::operator << (json::integer d) throw() { context(seq); fprintf(_stream, "%ld", d); return *this; }
+ json & json::operator << (long unsigned d) throw() { context(seq); fprintf(_stream, "%ld", d); return *this; }
++#ifdef _WIN32
++json & json::operator << (unsigned __int64 d) throw() { context(seq); fprintf(_stream, "%I64", d); return *this; }
++json & json::operator << (__int64 d) throw() { context(seq); fprintf(_stream, "%I64", d); return *this; }
++#endif
+ json & json::operator << (json::boolean b) throw() { context(seq); fputs(b ? "true" : "false", _stream); return *this; }
+ json & json::operator << (json::_null_t) throw() { context(seq); fputs("null",_stream); return *this; }
+