summaryrefslogtreecommitdiff
path: root/repo/ruby-nokogiri/shutdown-libxml2-warning.patch
blob: c897379ae9c0195260d7bedc510298a449c03d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
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