summaryrefslogtreecommitdiff
path: root/debian/patches/workaround_EINVAL_on_kfreebsd
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/workaround_EINVAL_on_kfreebsd')
-rw-r--r--debian/patches/workaround_EINVAL_on_kfreebsd21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/workaround_EINVAL_on_kfreebsd b/debian/patches/workaround_EINVAL_on_kfreebsd
new file mode 100644
index 0000000..7b63368
--- /dev/null
+++ b/debian/patches/workaround_EINVAL_on_kfreebsd
@@ -0,0 +1,21 @@
+From: James McCoy <jamessan@debian.org>
+Date: Wed, 1 Aug 2018 20:44:36 -0400
+Subject: workaround_EINVAL_on_kfreebsd
+
+---
+ subversion/bindings/swig/ruby/test/util.rb | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/subversion/bindings/swig/ruby/test/util.rb b/subversion/bindings/swig/ruby/test/util.rb
+index 4f54992..d61b715 100644
+--- a/subversion/bindings/swig/ruby/test/util.rb
++++ b/subversion/bindings/swig/ruby/test/util.rb
+@@ -371,6 +371,8 @@ exit 1
+ TCPSocket.new(@svnserve_host, port).close
+ rescue Errno::ECONNREFUSED
+ sleep(n < 10 ? 0.2 : 0.5)
++ rescue Errno::EINVAL
++ sleep(n < 10 ? 0.2 : 0.5)
+ else
+ return true
+ end