LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File php-5.2.14-libxml2-bug.patch of Package php5 (Project home:ghostlyrat)

--- ext/xml/compat.c.orig
+++ ext/xml/compat.c
@@ -482,9 +482,7 @@ XML_ParserCreate_MM(const XML_Char *enco
 	parser->parser->charset = XML_CHAR_ENCODING_NONE;
 #endif
 
-#if LIBXML_VERSION >= 20703
 	xmlCtxtUseOptions(parser->parser, XML_PARSE_OLDSAX);
-#endif
 
 	parser->parser->replaceEntities = 1;
 	parser->parser->wellFormed = 0;