[med-svn] [Git][med-team/genomethreader][master] Add patch to fix FTBFS with Ruby 3.2

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Feb 23 05:48:10 GMT 2024



Andreas Tille pushed to branch master at Debian Med / genomethreader


Commits:
79ef766d by Lucas Kanashiro at 2024-02-23T00:34:51-03:00
Add patch to fix FTBFS with Ruby 3.2

- - - - -


2 changed files:

- + debian/patches/fix-ftbfs-with-ruby-3.2.patch
- debian/patches/series


Changes:

=====================================
debian/patches/fix-ftbfs-with-ruby-3.2.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with Ruby 3.2
+ Replace File.exists? with File.exist?
+Author: Lucas Kanashiro <kanashiro at ubuntu.com>
+Last-Updated: 2024-20-23
+
+--- a/testsuite/stest.rb
++++ b/testsuite/stest.rb
+@@ -54,7 +54,7 @@
+   def setup_dir
+     begin
+       ds = "#{@@prefix}/test#{@id}"
+-      if File.exists?(ds)
++      if File.exist?(ds)
+         FileUtils.rm_r(ds)
+       end
+       FileUtils.mkdir_p(ds)


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+fix-ftbfs-with-ruby-3.2.patch
 debian-gt-libs.patch
 gt-path-fix.patch
 hardening.patch



View it on GitLab: https://salsa.debian.org/med-team/genomethreader/-/commit/79ef766d9205670bd8c30d8f65b8e4a4dbe19f77

-- 
View it on GitLab: https://salsa.debian.org/med-team/genomethreader/-/commit/79ef766d9205670bd8c30d8f65b8e4a4dbe19f77
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240223/830d5a6d/attachment-0001.htm>


More information about the debian-med-commit mailing list