Package: ruby-mkrf / 0.2.3+dfsg-5

0601_disable_docbCreateFileParserCtxt_check.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: skip check of docbCreateFileParserCtxt presence
 This is marked as deprecated in libxml2 and has been removed from 2.9
Author: C├ędric Boutillier <boutil@debian.org>
Origin: vendor
Last-Update: 2013-06-24

--- a/test/sample_files/libxml-ruby-0.3.8/ext/xml/extconf.rb
+++ b/test/sample_files/libxml-ruby-0.3.8/ext/xml/extconf.rb
@@ -42,8 +42,9 @@
     crash('Your version of libxml2 is too old.  Please upgrade.')
   end
 
-  unless g.has_function? 'docbCreateFileParserCtxt'
-    crash('Need docbCreateFileParserCtxt')
-  end
+  # this module is deprecated in recent libxml2
+  #unless g.has_function? 'docbCreateFileParserCtxt'
+  #  crash('Need docbCreateFileParserCtxt')
+  #end
 
 end