summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gevers <elbrus@debian.org>2022-12-31 15:15:09 +0100
committerPaul Gevers <elbrus@debian.org>2022-12-31 15:15:09 +0100
commit99963f5c5ca72f60ddad1a319e15d5a0b2b04b97 (patch)
tree7acb2748e2bf7e73ea64923db08647b05decb334
parenta19bc6d88cbecb49e56bd5234a72839f4bd826ba (diff)
Add param.patch to fix FTBFS
Closes: #1005434
-rw-r--r--debian/patches/param.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
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 <c0llapsed@yahoo.it>
+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