summaryrefslogtreecommitdiff
path: root/desktop/subtle/changeset_r3240.diff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-09-12 14:11:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitd1049a9ef436ce38b86b336dc8c30830540d25db (patch)
treea637ee21ebf9df0e9e630f1ebcf249df4dae2ead /desktop/subtle/changeset_r3240.diff
parentcad35e42303ff7e812cf59889e37023fa7237294 (diff)
downloadslackbuilds-d1049a9ef436ce38b86b336dc8c30830540d25db.tar.gz
desktop/subtle: Patched for ruby-2.2.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/subtle/changeset_r3240.diff')
-rw-r--r--desktop/subtle/changeset_r3240.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/desktop/subtle/changeset_r3240.diff b/desktop/subtle/changeset_r3240.diff
new file mode 100644
index 0000000000..cdef6aec92
--- /dev/null
+++ b/desktop/subtle/changeset_r3240.diff
@@ -0,0 +1,21 @@
+diff -r 6670ea4caf96 -r 5d8d64f95c49 Rakefile
+--- a/Rakefile
++++ b/Rakefile
+@@ -65,7 +65,7 @@
+ "revision" => "3224", #< Latest stable
+ "cflags" => "-Wall -Werror -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
+ "cpppath" => "-I. -I$(builddir) -Isrc -Isrc/shared -Isrc/subtle -idirafter$(hdrdir) -idirafter$(archdir)",
+- "ldflags" => "-L$(libdir) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
++ "ldflags" => "$(rpath) -L$(libdir) $(LIBS) -l$(RUBY_SO_NAME)",
+ "extflags" => "$(LDFLAGS) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
+ "rpath" => "-L$(libdir) -Wl,-rpath=$(libdir)",
+ "checksums" => []
+@@ -258,7 +258,7 @@
+ make_config unless checksums
+ else
+ # Check version
+- if 1 != RbConfig::CONFIG["MAJOR"].to_i or 9 != RbConfig::CONFIG["MINOR"].to_i
++ if 1 == RbConfig::CONFIG["MAJOR"].to_i and 9 > RbConfig::CONFIG["MINOR"].to_i
+ fail("Ruby 1.9.0 or higher required")
+ end
+