File: 20_ruby19_or_higher

package info (click to toggle)
subtle 0.11.3224-xi-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 1,288 kB
  • ctags: 1,378
  • sloc: ansic: 14,703; ruby: 3,101; makefile: 16
file content (21 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## ruby19_or_higher.dpatch by Cédric Boutillier <boutil@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Do not check the Ruby version.
## DP: The ruby version in Debian Jessie is higher than 1.9 anyway.

diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' subtle-0.11.3224-xi~/Rakefile subtle-0.11.3224-xi/Rakefile
--- subtle-0.11.3224-xi~/Rakefile	2014-04-22 18:29:59.000000000 +0200
+++ subtle-0.11.3224-xi/Rakefile	2014-04-22 18:30:21.066738761 +0200
@@ -257,11 +257,6 @@
 
     make_config unless checksums
   else
-    # Check version
-    if 1 != RbConfig::CONFIG["MAJOR"].to_i or 9 != RbConfig::CONFIG["MINOR"].to_i
-      fail("Ruby 1.9.0 or higher required")
-    end
-
     checksums
 
     # Update rpath