summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp')
-rw-r--r--www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp b/www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp
new file mode 100644
index 00000000000..fa4eec64346
--- /dev/null
+++ b/www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-gfx_graphite2_src_Bidi.cpp,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+* Support Solaris
+
+--- gfx/graphite2/src/Bidi.cpp.orig 2013-05-11 19:19:30.000000000 +0000
++++ gfx/graphite2/src/Bidi.cpp
+@@ -30,6 +30,11 @@ of the License or (at your option) any l
+
+ using namespace graphite2;
+
++#ifdef __sun
++#undef CS
++#undef ES
++#endif
++
+ enum DirCode { // Hungarian: dirc
+ Unk = -1,
+ N = 0, // other neutrals (default) - ON