source: trunk/dports/textproc/cuneiform/files/patch-cuneiform_src-Kern-leo-src-leo_dll.c.diff @ 136891

Last change on this file since 136891 was 136891, checked in by ryandesign@…, 5 years ago

cuneiform: fix build with clang (#36572); use cmake.out_of_source yes (#47197)

File size: 907 bytes
  • cuneiform_src/Kern/leo/src/leo_dll.c

    Fix "character too large for enclosing character literal type" seen with clang
    http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2013-August/261138.html
    old new  
    622622        }
    623623leo_current_alpha_ndx=leo_register_alphabet(alphabet);
    624624prn_roma_regim = (
    625         !ansi_letters[(uchar)'�'] &&
     625        !ansi_letters[(uchar)L'�'] &&
    626626        ansi_letters['I'] &&
    627         ansi_letters[(uchar)'�'] &&
    628         ansi_letters[(uchar)'�'] &&
    629         ansi_letters[(uchar)'�'] &&
    630         ansi_letters[(uchar)'�'] &&
     627        ansi_letters[(uchar)L'�'] &&
     628        ansi_letters[(uchar)L'�'] &&
     629        ansi_letters[(uchar)L'�'] &&
     630        ansi_letters[(uchar)L'�'] &&
    631631        ansi_letters['1']);
    632632
    633633if( leo_alpha_type&ALPH_R_E )
Note: See TracBrowser for help on using the repository browser.