diff options
| -rw-r--r-- | app-text/hyperestraier/files/hyperestraier-ruby-varargs.patch | 20 | ||||
| -rw-r--r-- | app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild | 5 |
2 files changed, 23 insertions, 2 deletions
diff --git a/app-text/hyperestraier/files/hyperestraier-ruby-varargs.patch b/app-text/hyperestraier/files/hyperestraier-ruby-varargs.patch new file mode 100644 index 000000000000..bcf2753f3a0a --- /dev/null +++ b/app-text/hyperestraier/files/hyperestraier-ruby-varargs.patch @@ -0,0 +1,20 @@ +--- a/rubynative/src/estraier.c 2025-01-19 09:16:41.340299738 +0100 ++++ b/rubynative/src/estraier.c 2025-01-19 09:17:18.404701204 +0100 +@@ -125,7 +125,7 @@ + static CBMAP *objtocbmap(VALUE obj); + static void db_informer(const char *message, void *opaque); + static VALUE db_informer_process(VALUE arg); +-static VALUE db_informer_resque(VALUE arg); ++static VALUE db_informer_resque(VALUE arg1, VALUE arg2); + + + +@@ -1259,7 +1259,7 @@ + } + + +-static VALUE db_informer_resque(VALUE arg){ ++static VALUE db_informer_resque(VALUE arg1, VALUE arg2){ + return Qnil; + } + diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild index c5934ea45287..537b033d18db 100644 --- a/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild +++ b/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby31 ruby32" RUBY_OPTIONAL="yes" inherit autotools java-pkg-opt-2 perl-functions ruby-ng @@ -34,6 +34,7 @@ PATCHES=( "${FILESDIR}"/${PN}-java-11.patch "${FILESDIR}"/${PN}-perl.patch "${FILESDIR}"/${PN}-ruby19.patch + "${FILESDIR}"/${PN}-ruby-varargs.patch ) HTML_DOCS=( doc/. ) |
