swig/ruby-1.8.6-newobject.patch
Ismail Dönmez c5765806ac Accepting request 176931 from home:kwk:branches:devel:tools:building
- Ruby 1.8.6 (SLE10) tracks objects differently
  Add ruby-1.8.6-newobject.patch
- Remove skip-python-li_std_containers_int.patch, fixed upstream
- Remove python-2.4.patch, fixed upstream
- Fix Fedora/RHEL builds (BuildRequires:  perl-Test-Simple)

- Change Ruby 1.9+ object tracking to use C hashes, fixes all
  failed Ruby tests.
  Patch added:   0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
  Patch removed: 0008-Ruby-Disable-broken-tests.patch

OBS-URL: https://build.opensuse.org/request/show/176931
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=52
2013-05-29 11:54:28 +00:00

11 lines
694 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/newobject1_runme.rb ./Examples/test-suite/ruby/newobject1_runme.rb
--- ../orig-swig-2.0.10/Examples/test-suite/ruby/newobject1_runme.rb 2013-05-27 20:24:04.000000000 +0200
+++ ./Examples/test-suite/ruby/newobject1_runme.rb 2013-05-29 09:55:57.922485272 +0200
@@ -29,5 +29,5 @@
GC.stats if $VERBOSE
swig_assert( 'Foo.fooCount == 200', binding, "but is #{Foo.fooCount}" )
GC.start
-swig_assert( 'Foo.fooCount <= 2', binding, "but is #{Foo.fooCount}" )
+swig_assert( 'Foo.fooCount <= 3', binding, "but is #{Foo.fooCount}" )