all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 23c42d79cb625626ccf363a15aa312cb25157ac1 1468 bytes (raw)
name: gnu/packages/patches/chromium-system-libxml.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
description: system libxml2 2.9.4 does not yet provide XML_PARSE_NOXXE
author: Michael Gilbert <mgilbert@debian.org>

Copied from:

https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/tree/debian/patches/system/libxml.patch

--- a/third_party/libxml/chromium/libxml_utils.cc
+++ b/third_party/libxml/chromium/libxml_utils.cc
@@ -24,8 +24,7 @@ XmlReader::~XmlReader() {
 
 bool XmlReader::Load(const std::string& input) {
   const int kParseOptions = XML_PARSE_RECOVER |  // recover on errors
-                            XML_PARSE_NONET |    // forbid network access
-                            XML_PARSE_NOXXE;     // no external entities
+                            XML_PARSE_NONET;     // forbid network access
   // TODO(evanm): Verify it's OK to pass NULL for the URL and encoding.
   // The libxml code allows for these, but it's unclear what effect is has.
   reader_ = xmlReaderForMemory(input.data(), static_cast<int>(input.size()),
@@ -35,8 +34,7 @@ bool XmlReader::Load(const std::string&
 
 bool XmlReader::LoadFile(const std::string& file_path) {
   const int kParseOptions = XML_PARSE_RECOVER |  // recover on errors
-                            XML_PARSE_NONET |    // forbid network access
-                            XML_PARSE_NOXXE;     // no external entities
+                            XML_PARSE_NONET;     // forbid network access
   reader_ = xmlReaderForFile(file_path.c_str(), NULL, kParseOptions);
   return reader_ != NULL;
 }

debug log:

solving 23c42d79c ...
found 23c42d79c in https://yhetil.org/guix/87y3qvb15k.fsf@fastmail.com/

applying [1/1] https://yhetil.org/guix/87y3qvb15k.fsf@fastmail.com/
diff --git a/gnu/packages/patches/chromium-system-libxml.patch b/gnu/packages/patches/chromium-system-libxml.patch
new file mode 100644
index 000000000..23c42d79c

1:17: trailing whitespace.
 
1:27: trailing whitespace.
 
Checking patch gnu/packages/patches/chromium-system-libxml.patch...
Applied patch gnu/packages/patches/chromium-system-libxml.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 23c42d79cb625626ccf363a15aa312cb25157ac1	gnu/packages/patches/chromium-system-libxml.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.