summaryrefslogtreecommitdiff
path: root/repo/ruby-nokogiri/shutdown-libxml2-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/ruby-nokogiri/shutdown-libxml2-warning.patch')
-rw-r--r--repo/ruby-nokogiri/shutdown-libxml2-warning.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/repo/ruby-nokogiri/shutdown-libxml2-warning.patch b/repo/ruby-nokogiri/shutdown-libxml2-warning.patch
new file mode 100644
index 0000000..c897379
--- /dev/null
+++ b/repo/ruby-nokogiri/shutdown-libxml2-warning.patch
@@ -0,0 +1,12 @@
+Patch-Source: https://src.fedoraproject.org/rpms/rubygem-nokogiri/blob/f36/f/rubygem-nokogiri-1.11.0.rc4-shutdown-libxml2-warning.patch
+
+--- a/lib/nokogiri/version/info.rb
++++ b/lib/nokogiri/version/info.rb
+@@ -58,6 +58,7 @@ module Nokogiri
+
+ def warnings
+ warnings = []
++ return warnings
+
+ if libxml2?
+ if compiled_libxml_version != loaded_libxml_version