You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch

23 lines
512 B

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