summaryrefslogtreecommitdiff
path: root/desktop/subtle/changeset_r3244.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_r3244.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_r3244.diff')
-rw-r--r--desktop/subtle/changeset_r3244.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/desktop/subtle/changeset_r3244.diff b/desktop/subtle/changeset_r3244.diff
new file mode 100644
index 0000000000..9fe46a4a80
--- /dev/null
+++ b/desktop/subtle/changeset_r3244.diff
@@ -0,0 +1,16 @@
+diff -r 43d1d0478c46 -r 31e0a9716e58 Rakefile
+--- a/Rakefile
++++ b/Rakefile
+@@ -397,6 +397,12 @@
+ ret = false
+
+ cflags, ldflags, libs = pkg_config("xft")
++
++ # Fix a bug in ruby 2.2.0 (https://bugs.ruby-lang.org/issues/10651)
++ if cflags.empty?
++ cflags << `#{$PKGCONFIG} --cflags xft`.chomp
++ end
++
+ unless libs.nil?
+ # Update flags
+ @options["cpppath"] << " %s" % [ cflags ]