mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
d1049a9ef4
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
16 lines
452 B
Diff
16 lines
452 B
Diff
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 ]
|