+++ /dev/null
-fix compiler (gcc 4.8) errors for ruby-gnome2:
-
-rbgtkcalendar.c: In function 'rg_display_options':
-/usr/include/ruby-2.0/ruby/ruby.h:446:18: error: expected '(' before '!' token
- #define NIL_P(v) !((VALUE)(v) != Qnil)
-
-seems same error as here:
-https://github.com/shoes/shoes/issues/246
---- ruby-2.0.0-p481/include/ruby/ruby.h~ 2014-07-26 21:30:04.005696992 +0300
-+++ ruby-2.0.0-p481/include/ruby/ruby.h 2014-07-26 21:30:11.189350307 +0300
-@@ -442,8 +442,8 @@
- #endif
- #define SYMBOL_FLAG RUBY_SYMBOL_FLAG
-
--#define RTEST(v) !(((VALUE)(v) & ~Qnil) == 0)
--#define NIL_P(v) !((VALUE)(v) != Qnil)
-+#define RTEST(v) (!(((VALUE)(v) & ~Qnil) == 0))
-+#define NIL_P(v) (!((VALUE)(v) != Qnil))
-
- #define CLASS_OF(v) rb_class_of((VALUE)(v))
-
%bcond_without default_ruby # use this Ruby as default system Ruby
%bcond_with bootstrap # build bootstrap version
-%define rel 2
+%define rel 1
%define ruby_version 2.0
%define basever 2.0.0
%define patchlevel 481
Patch7: empty-ruby-version.patch
Patch8: rubygems-2.0.0-binary-extensions.patch
Patch9: custom-rubygems-location.patch
-Patch10: gcc-value.patch
URL: http://www.ruby-lang.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%patch7 -p1
%patch8 -p1
%patch9 -p1
-%patch10 -p1
# must be regenerated with new bison
%{__rm} parse.{c,h}