From 99963f5c5ca72f60ddad1a319e15d5a0b2b04b97 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Sat, 31 Dec 2022 15:15:09 +0100 Subject: Add param.patch to fix FTBFS Closes: #1005434 --- debian/patches/param.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/param.patch diff --git a/debian/patches/param.patch b/debian/patches/param.patch new file mode 100644 index 0000000..2e71ee4 --- /dev/null +++ b/debian/patches/param.patch @@ -0,0 +1,14 @@ +Author: s3v +Bug-Debian: https://bugs.debian.org/1005434 + +--- a/spec/support/localhost_server.rb ++++ b/spec/support/localhost_server.rb +@@ -43,7 +43,7 @@ + # Use WEBrick since it's part of the ruby standard library and is available on all ruby interpreters. + options = { :Port => port } + options.merge!(:AccessLog => [], :Logger => WEBrick::BasicLog.new(StringIO.new)) unless ENV['VERBOSE_SERVER'] +- Rack::Handler::WEBrick.run(Identify.new(@rack_app), options) ++ Rack::Handler::WEBrick.run(Identify.new(@rack_app), **options) + end + + def booted? diff --git a/debian/patches/series b/debian/patches/series index 005fb51..1d63b55 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ remove-rubygems-bundler.patch +param.patch -- cgit v1.2.3