(without this, it defines ffs() without no-throw, thus conflicting with glibc when compiling in C++ mode)
Changed files:
ruby-ffs.patch -> 1.1
ruby.spec -> 1.220
--- /dev/null
+--- ruby-1.9.2-p0/configure.in.orig 2010-10-09 14:30:10.239742720 +0200
++++ ruby-1.9.2-p0/configure.in 2010-10-09 14:35:19.007744396 +0200
+@@ -1163,7 +1163,7 @@
+ else
+ AC_LIBOBJ([signbit])
+ fi
+-AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eaccess\
++AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eaccess ffs\
+ truncate ftruncate chsize times utimes utimensat fcntl lockf lstat\
+ link symlink readlink readdir_r fsync fdatasync fchown\
+ setitimer setruid seteuid setreuid setresuid setproctitle socketpair\
Source5: %{name}-mode-init.el
Patch0: %{name}-mkmf-shared.patch
Patch1: %{name}-lib64.patch
+Patch2: %{name}-ffs.patch
URL: http://www.ruby-lang.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%setup -q -n %{name}-%{basever}-p%{patchlevel} -a1 -a2
%patch0 -p1
%patch1 -p1
+%patch2 -p1
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f