File php7-BNC-457056.patch of Package php7

15
 
1
Index: ext/xml/compat.c
2
===================================================================
3
--- ext/xml/compat.c.orig   2009-01-12 15:30:21.000000000 +0100
4
+++ ext/xml/compat.c    2009-03-14 18:32:40.000000000 +0100
5
@@ -482,9 +482,7 @@ XML_ParserCreate_MM(const XML_Char *enco
6
    parser->parser->charset = XML_CHAR_ENCODING_NONE;
7
 #endif
8
 
9
-#if LIBXML_VERSION >= 20703
10
    xmlCtxtUseOptions(parser->parser, XML_PARSE_OLDSAX);
11
-#endif
12
 
13
    parser->parser->replaceEntities = 1;
14
    parser->parser->wellFormed = 0;
15