diff options
Diffstat (limited to 'media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch')
-rw-r--r-- | media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch b/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch new file mode 100644 index 000000000000..c3bbe51e8695 --- /dev/null +++ b/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch @@ -0,0 +1,22 @@ +Bidi: undef conflicting constants + +On Solaris ES and CS are already defined, resulting in compilation +errors. Since we won't need Solaris' ones here, simply undef them. + +--- graphite2-1.2.0/src/Bidi.cpp ++++ graphite2-1.2.0/src/Bidi.cpp +@@ -30,6 +30,14 @@ + + using namespace graphite2; + ++/* Solaris' headers define these */ ++#ifdef ES ++# undef ES ++#endif ++#ifdef CS ++# undef CS ++#endif ++ + enum DirCode { // Hungarian: dirc + Unk = -1, + N = 0, // other neutrals (default) - ON |