5c89de63fc
Add ruby-2.0-encoding-utf8.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=51
13 lines
686 B
Diff
13 lines
686 B
Diff
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile ../orig-swig-2.0.10/Examples/test-suite/ruby/char_constant_runme.rb ./Examples/test-suite/ruby/char_constant_runme.rb
|
|
--- ../orig-swig-2.0.10/Examples/test-suite/ruby/char_constant_runme.rb 2013-05-27 20:24:04.000000000 +0200
|
|
+++ ./Examples/test-suite/ruby/char_constant_runme.rb 2013-05-28 14:48:44.924421929 +0200
|
|
@@ -28,7 +28,7 @@
|
|
raise RuntimeError, "Invalid value for NULL_CONST."
|
|
end
|
|
|
|
-if Char_constant::SPECIALCHAR != "\341" #'á'
|
|
+if Char_constant::SPECIALCHAR.ord != 225 # "\341" #'á'
|
|
raise RuntimeError, "Invalid value for SPECIALCHAR."
|
|
end
|
|
|