Annotation of pkgsrc/textproc/ruby-mecab/patches/patch-MeCab__wrap.cpp, revision 1.1

1.1     ! obache      1: $NetBSD$
        !             2: 
        !             3: * Ruby-1.8 compatibility fix
        !             4:   http://code.google.com/p/mecab/issues/detail?id=3
        !             5: 
        !             6: --- MeCab_wrap.cpp.orig        2013-02-17 17:24:16.000000000 +0000
        !             7: +++ MeCab_wrap.cpp
        !             8: @@ -1856,8 +1856,7 @@ static VALUE mMeCab;
        !             9:  
        !            10:  /* Workaround for ruby1.9.x */
        !            11:  #if defined SWIGRUBY
        !            12: -#include "ruby/version.h"
        !            13: -#if RUBY_API_VERSION_CODE >= 10900
        !            14: +#if HAVE_RUBY_ENCODING_H
        !            15:  #include "ruby/encoding.h"
        !            16:  #define rb_str_new rb_external_str_new
        !            17:  #endif

CVSweb <webmaster@jp.NetBSD.org>