Hello, I am trying to compile graphite2 and it fails because certain symbols that are defined in sys/regset.h are defined there. The immediate solution is a patch like the following one. The question is whether this will have any side effects?
*** libs/graphite2/graphite2-1.2.1/src/Bidi.cpp.orig 2013-03-25 11:37:10.012328675 +0200 --- libs/graphite2/graphite2-1.2.1/src/Bidi.cpp 2013-03-25 11:39:57.333240346 +0200 *************** *** 37,45 **** --- 37,51 ---- R = 2, // right-to-left, strong - R AL = 3, // Arabic letter, right-to-left, strong, AR EN = 4, // European number, left-to-right, weak - EN + #ifdef __sun + #undef ES + #endif ES = 5, // European separator, left-to-right, weak - ES ET = 6, // European number terminator, left-to-right, weak - ET AN = 7, // Arabic number, left-to-right, weak - AN + #ifdef __sun + #undef CS + #endif CS = 8, // Common number separator, left-to-right, weak - CS WS = 9, // white space, neutral - WS BN = 10, // boundary neutral - BN Regards, A.S. ---------------------- Apostolos Syropoulos Xanthi, Greece ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
