wok-next view zonecheck/stuff/patches/50_libxml_407896-fix.patch @ rev 21312
inkscape: added build dependency dbus-glib-dev
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 15:00:13 2019 +0100 (2019-12-10) |
parents | |
children |
line source
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 50_libxml_407896-fix.dpatch by Sebastien Delafond <seb@debian.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Don't use libxml even if it's available.
7 @DPATCH@
8 diff -urNad 2.0.4~/zc/ext/myxml.rb 2.0.4/zc/ext/myxml.rb
9 --- 2.0.4~/zc/ext/myxml.rb 2004-01-07 08:44:56.000000000 -0800
10 +++ 2.0.4/zc/ext/myxml.rb 2007-04-06 12:30:17.000000000 -0700
11 @@ -46,12 +46,7 @@
12 if $zc_xml_parser
13 $zc_xml_parser.intern
14 else
15 - begin
16 - require 'xml/libxml'
17 - :libxml
18 - rescue LoadError
19 - :rexml
20 - end
21 + :rexml
22 end
23 }).call