From da957cff2cd79bbad78ff39a816a18e17da61e1c Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 7 Dec 2018 14:33:52 -0500 Subject: [PATCH] dev-libs/xerces-c: Fix building with USE="-icu iconv" Closes: https://bugs.gentoo.org/672660 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews --- .../xerces-c-3.2.2-fix-XERCESC-2161.patch | 770 ++++++++++++++++++ dev-libs/xerces-c/xerces-c-3.2.2.ebuild | 3 + 2 files changed, 773 insertions(+) create mode 100644 dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2161.patch diff --git a/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2161.patch b/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2161.patch new file mode 100644 index 000000000000..f1a847c55699 --- /dev/null +++ b/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2161.patch @@ -0,0 +1,770 @@ +--- /dev/null 2018-12-04 16:29:46.857790926 -0500 ++++ b/src/xercesc/util/MsgLoaders/MsgCatalog/XercesMessages_en_US.Msg 2018-12-07 14:18:19.183422991 -0500 +@@ -0,0 +1,767 @@ ++$quote " ++$set 1 ++2 notation '{0}' has already been declared ++3 attribute '{0}' has already been declared for element '{1}' ++4 encoding '{0}' from XML declaration or manually set contradicts the auto-sensed encoding; ignoring ++5 element '{0}' is referenced in a content model but was never declared ++6 element '{0}' is referenced in an ATTLIST but was never declared ++7 {0} ++8 unable to include document '{0}' ++9 unable to open text file target '{0}' ++10 unable to include resource '{0}' ++13 '{0}' is not allowed for the content of simpleType; only list, union, and restriction are allowed ++14 globally-defined complex type must have a name ++15 globally-declared attribute must have a name ++16 attribute declaration must have name or 'ref' attribute ++17 element declaration must have name or 'ref' attribute ++18 group declaration must have name or a 'ref' attribute ++19 attributeGroup declaration must have name or 'ref' attribute ++20 anonymous complexType in element '{0}' has name ++21 anonymous simpleType in element '{0}' has name ++22 content of element declaration must match (annotation?, (simpleType | complexType)?, (unique | key | keyref)*) ++23 invalid content in simple type '{0}'; only list, union, and restriction are allowed ++24 expected simpleType in list definition for type '{0}' ++25 list, union, or restriction content is invalid for type '{0}' ++26 invalid content in list definition for type '{0}' ++27 expected simpleType in restriction definition for type '{0}' ++28 facet '{0}' is already defined ++29 expected simpleType in union definition for type '{0}' ++30 content in simpleType definition is empty ++31 expected restriction or extension in simpleContent definition ++32 base attribute must be specified for restriction or extension definition ++33 expected restriction or extension in complexContent definition ++34 invalid content in 'schema' element ++35 invalid content for type '{0}' ++36 unknown simpleType '{0}' ++37 unknown complexType '{0}' ++38 prefix '{0}' can not be resolved to namespace URI ++39 referenced element '{0}' not found ++40 type '{0}:{1}' not found ++41 attribute '{0}' not found ++42 invalid element '{0}' in complex type definition ++43 base type '{0}' not found ++44 unable to create validator for '{0}' ++45 invalid element following simpleContent definition in complexType ++46 invalid element following complexContent definition in complexType ++47 attribute '{0}' cannot have both fixed and default values ++48 attribute '{0}' with default value must be optional ++49 attribute '{0}' declared more than once in the same scope ++50 attribute '{0}' cannot have both 'type' attribute and simpleType definition ++51 simpleType '{0}:{1}' for attribute '{2}' not found ++52 element '{0}' cannot have both fixed and default values ++53 invalid {0} name '{1}' ++54 element '{0}' cannot have both 'type' attribute and simpleType/complexType definition ++55 element '{0}' has fixed or default value and must have mixed simple or simple content model ++56 simpleType '{0}' that '{1}' extends has a value of the final attribute that does not permit extension ++57 type '{0}' specified as the base in simpleContent definition must not have complex content ++58 type '{0}' is a simple type and cannot be used in derivation by restriction in complexType definition ++59 invalid element following restriction or extension definition in simpleContent ++60 invalid element following restriction or extension definition in complexContent ++61 duplicate annotation in type '{0}' ++62 type '{0}' cannot be used in its own union, list, or restriction definition ++63 block value '{0}' is invalid ++64 final value '{0}' is invalid ++65 element '{0}' cannot be part of the substitution group headed by '{1}' ++66 element '{0}' has a type which does not derive from the type of the element at the head of the substitution group ++67 element '{0}' declared more than once in the same scope ++68 value '{0}' invalid for attribute '{1}' ++69 attribute '{0}' has both 'ref' attribute and inline simpleType definition or 'form' or 'type' attribute ++70 duplicate reference attribute '{0}:{1}' in complexType definition ++71 derivation by restriction is forbidden by either base type '{0}' or globally ++72 derivation by extension is forbidden by either base type '{0}' or globally ++73 base type specified in complexContent definition must be a complex type ++74 imported schema '{0}' has different target namespace '{1}'; expected '{2}' ++75 'schemaLocation' attribute must be specified in element '{0}' ++76 included schema '{0}' has different target namespace '{1}' ++77 at most one annotation is allowed ++78 content of attribute '{0}' must match (annotation?, simpleType?) ++79 attribute '{0}' must appear in global {1} declarations ++80 attribute '{0}' must appear in local {1} declarations ++81 attribute '{0}' cannot appear in global {1} declarations ++82 attribute '{0}' cannot appear in local {1} declarations ++83 minOccurs value '{0}' must not be greater than maxOccurs value '{1}' ++84 duplicate annotation in anyAttribute declaration ++85 global {0} declaration must have name ++86 circular definition in '{0}' ++87 global type '{0}:{1}' declared more than once or also declared as {2} ++88 global {0} '{1}' declared more than once ++89 invalid value '{0}' for whiteSpace facet; expected 'collapse' ++90 namespace of import declaration must be different from target namespace of importing schema ++91 importing schema must have target namespace if namespace in import declaration is not present ++92 element '{0}' cannot have value constraint '{1}' if its type is derived from ID ++93 element/attribute '{0}' is of NOTATION type ++94 element '{0}' has mixed content type and the content type's particle must be emptiable ++95 complexType definition has empty content but base type is not empty or does not have emptiable particle ++96 content types of base type '{0}' and derived type '{1}' must both be mixed or element-only ++97 derived content type is not a valid restriction of base content type ++98 derivation by extension or restriction is forbidden by either base type '{0}' or globally ++99 item type definition must have variety of atomic or union where all member types must be atomic ++100 group '{0}' must contain all, choice, or sequence compositor ++101 content of attributeGroup '{0}' must match (annotation?, ((attribute | attributeGroup)*, anyAttribute?)) ++102 top-level compositor in a group must not have 'minOccurs' or 'maxOccurs' attribute ++103 {0} '{1}:{2}' not found ++104 group with the all compositor must only appear as content type of a complex type ++105 group with the all compositor constituting the content type of a complex type must have both minOccurs and maxOccurs equal 1 ++106 element declaration in the all compositor must have minOccurs and maxOccurs equal 0 or 1 ++107 attribute '{0}' is already defined in base ++108 intensional intersection of attribute wildcards must be expressible ++109 base type does not have any attributes ++110 attribute '{0}' has incompatible use value in the base ++111 type of attribute '{0}' must be derived by restriction from type of the corresponding attribute in the base ++112 attribute '{0}' does not have a fixed value or has a different fixed value from that of the base ++113 attribute '{0}' has invalid target namespace with respect to the base wildcard constraint or base has no wildcard ++114 attribute wildcard is present in the derived type but not in the base ++115 attribute wildcard in the derived type is not a valid subset of that in the base ++116 attribute '{0}' cannot have different use value in the derived type if the base attribute use value is 'prohibited' ++117 attribute wildcard in the derived type must be identical to or stricter than the one in the base ++118 unexpected '{0}' in the content of the all compositor; only elements are allowed ++119 redefined schema '{0}' has a different target namespace '{1}' ++120 simpleType in redefine must have a restriction definition ++121 simpleType base attribute in redefine must reference the original type with the same name ++122 complexType in redefine must have a restriction or extension definition ++123 complexType base attribute in redefine must reference the original type with the same name ++124 group '{0}' must have minOccurs and maxOccurs equal 1 ++125 unable to find declaration in the schema being redefined corresponding to '{0}' ++126 group declaration in redefine may only contain one reference to itself ++127 attributeGroup declaration in redefine may only contain one reference to itself ++128 redefine declaration cannot contain '{0}' ++129 notation declaration '{0}:{1}' not found ++130 more than one identity constraint has name '{0}' ++131 identity constraint declaration must match (annotation?, selector, field+) ++132 key reference declaration '{0}' refers to unknown key '{1}' ++133 field cardinalities for keyref '{0}' and key '{1}' must match ++134 XPath expression is missing or empty ++135 fixed value in attribute reference is not set or differs from the fixed value of '{0}' ++136 attribute '{0}' is of ID type or type derived from ID and cannot have default/fixed value constraint ++137 attribute '{0}' is a subsequent attribute in this complex type with a type derived from ID ++138 attribute '{0}' is a subsequent attribute in this attribute group with a type derived from ID ++139 empty value illegal for 'targetNamespace' attribute; target namespace must be absent or contain non-empty value ++140 {0} ++141 '{0}' has already been included or redefined ++142 namespace '{0}' is referenced without import declaration ++143 all compositor that is part of a complex type definition must constitute the entire content of the definition ++144 annotation can only contain appinfo and documentation declarations ++145 invalid facet name '{0}' ++146 root element name of XML Schema document must be 'schema' ++147 circular substitution group in element '{0}' ++148 element '{0}' must be from the XML Schema namespace ++149 target namespace of attribute '{0}' cannot be http://www.w3.org/2001/XMLSchema-instance ++150 invalid namespace declaration ++151 namespace fix-up cannot be performed on DOM Level 1 node ++152 more than one anyAttribute declaration found in complex type declaration ++153 anyAttribute must not be followed by other declarations ++156 parser has encountered more than '{0}' entity expansions in the document; this is the limit imposed by the application ++157 expected comment or CDATA section ++158 attribute name expected ++159 notation name expected ++160 illegal repetition of elements in mixed content model ++161 default attribute declaration expected ++162 equal sign expected ++163 element name expected ++164 comment must start with