Import polish/fortunepl version 20091121
[dports.git] / japanese / ruby-mecab / files / patch-MeCab__wrap.cpp
1 --- MeCab_wrap.cpp.orig 2013-01-25 14:07:27.000000000 +0900
2 +++ MeCab_wrap.cpp      2013-03-20 15:01:31.000000000 +0900
3 @@ -1856,8 +1856,7 @@
4  
5  /* Workaround for ruby1.9.x */
6  #if defined SWIGRUBY
7 -#include "ruby/version.h"
8 -#if RUBY_API_VERSION_CODE >= 10900
9 +#if HAVE_RUBY_ENCODING_H
10  #include "ruby/encoding.h"
11  #define rb_str_new rb_external_str_new
12  #endif