Add a minimum patch to support ruby 2.7
This commit is contained in:
parent
f8a3584fc3
commit
6190f8ea87
|
@ -0,0 +1,11 @@
|
|||
--- libprelude-5.1.1/bindings/ruby/Prelude.cxx.ruby27 2019-10-15 05:33:03.117000000 +0900
|
||||
+++ libprelude-5.1.1/bindings/ruby/Prelude.cxx 2020-01-19 20:13:37.324557838 +0900
|
||||
@@ -1260,7 +1260,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrac
|
||||
swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
|
||||
}
|
||||
|
||||
- rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
|
||||
+ rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
|
||||
}
|
||||
|
||||
/* Add a Tracking from a C/C++ struct to a Ruby object */
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: libprelude
|
||||
Version: 5.1.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Secure Connections between all Sensors and the Prelude Manager
|
||||
# Prelude is GPL-2.0+
|
||||
# libmissing is LGPL-2.1+
|
||||
|
@ -33,6 +33,10 @@ Patch9: libprelude-5.1.0-linking.patch
|
|||
Patch10: libprelude-5.1.0-fix_libprelude-error_on_gnu.patch
|
||||
Patch11: libprelude-5.1.0-disable_test-poll_on_kfreebsd.patch
|
||||
Patch12: libprelude-5.1.0-fix-test_rwlock1.patch
|
||||
# https://github.com/swig/swig/issues/1689
|
||||
# https://github.com/swig/swig/pull/1692
|
||||
# For now, add a minimum patch to support ruby2.7
|
||||
Patch13: libprelude-5.1.1-ruby27.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: bison
|
||||
|
@ -229,6 +233,9 @@ find %{buildroot} -name '.packlist' -delete
|
|||
%doc AUTHORS ChangeLog README NEWS
|
||||
|
||||
%changelog
|
||||
* Sun Jan 19 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.1.1-3
|
||||
- Add a minimum patch to support ruby 2.7
|
||||
|
||||
* Sun Nov 10 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.1.1-2
|
||||
- Add missing patches
|
||||
|
||||
|
|
Loading…
Reference in New Issue