aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-nokogiri/fix-extconf.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-06-17 14:23:25 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-06-17 14:23:18 +0200
commit824bb08c5d3e74eb9d15b2585db76b6ad6d157f1 (patch)
tree5af570b79faac18aca9078e5066a9ea930619c67 /community/ruby-nokogiri/fix-extconf.patch
parenta4486026123b25de0eb1a58178bde41c8b527a07 (diff)
downloadaports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.tar.bz2
aports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.tar.xz
community/ruby-nokogiri: upgrade to 1.8.3
Diffstat (limited to 'community/ruby-nokogiri/fix-extconf.patch')
-rw-r--r--community/ruby-nokogiri/fix-extconf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-nokogiri/fix-extconf.patch b/community/ruby-nokogiri/fix-extconf.patch
new file mode 100644
index 0000000000..6eb029535f
--- /dev/null
+++ b/community/ruby-nokogiri/fix-extconf.patch
@@ -0,0 +1,11 @@
+--- a/ext/nokogiri/extconf.rb
++++ b/ext/nokogiri/extconf.rb
+@@ -434,7 +434,7 @@
+
+ if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc/
+ $CFLAGS << " -O3" unless $CFLAGS[/-O\d/]
+- $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wextra -Wmissing-noreturn -Winline"
++ $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline"
+ end
+
+ case