wok-next diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zonecheck/stuff/patches/50_libxml_407896-fix.patch	Tue Dec 10 15:00:13 2019 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +#! /bin/sh /usr/share/dpatch/dpatch-run
     1.5 +## 50_libxml_407896-fix.dpatch by Sebastien Delafond <seb@debian.org>
     1.6 +##
     1.7 +## All lines beginning with `## DP:' are a description of the patch.
     1.8 +## DP: Don't use libxml even if it's available.
     1.9 +
    1.10 +@DPATCH@
    1.11 +diff -urNad 2.0.4~/zc/ext/myxml.rb 2.0.4/zc/ext/myxml.rb
    1.12 +--- 2.0.4~/zc/ext/myxml.rb	2004-01-07 08:44:56.000000000 -0800
    1.13 ++++ 2.0.4/zc/ext/myxml.rb	2007-04-06 12:30:17.000000000 -0700
    1.14 +@@ -46,12 +46,7 @@
    1.15 + 			  if $zc_xml_parser
    1.16 + 			      $zc_xml_parser.intern
    1.17 + 			  else
    1.18 +-			      begin
    1.19 +-				  require 'xml/libxml'
    1.20 +-				  :libxml
    1.21 +-			      rescue LoadError
    1.22 +-				  :rexml
    1.23 +-			      end
    1.24 ++                            :rexml
    1.25 + 			  end
    1.26 + 		      }).call
    1.27 +