diff --git a/packages/mediacenter/xbmc/patches/xbmc-999.80.014-PR4473.patch b/packages/mediacenter/xbmc/patches/xbmc-999.80.014-PR4473.patch new file mode 100644 index 0000000000..502dcd89f1 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/xbmc-999.80.014-PR4473.patch @@ -0,0 +1,44 @@ +From 471d0d1564a5d484374c871eeed888f2e7d6014e Mon Sep 17 00:00:00 2001 +From: Bl4ck09 +Date: Wed, 26 Mar 2014 22:57:47 +0100 +Subject: [PATCH] Enable constants for centerleft and centertop + +--- + xbmc/guilib/GUIIncludes.cpp | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/xbmc/guilib/GUIIncludes.cpp b/xbmc/guilib/GUIIncludes.cpp +index c622d1a..1be35e7 100644 +--- a/xbmc/guilib/GUIIncludes.cpp ++++ b/xbmc/guilib/GUIIncludes.cpp +@@ -50,11 +50,13 @@ + m_constantNodes.insert("posx"); + m_constantNodes.insert("posy"); + m_constantNodes.insert("left"); ++ m_constantNodes.insert("centerleft"); + m_constantNodes.insert("right"); +- m_constantNodes.insert("centerx"); ++ m_constantNodes.insert("centerright"); + m_constantNodes.insert("top"); ++ m_constantNodes.insert("centertop"); + m_constantNodes.insert("bottom"); +- m_constantNodes.insert("centery"); ++ m_constantNodes.insert("centerbottom"); + m_constantNodes.insert("width"); + m_constantNodes.insert("height"); + m_constantNodes.insert("offsetx"); +@@ -218,9 +220,9 @@ void CGUIIncludes::ResolveIncludesForNode(TiXmlElement *node, std::mapValueStr(); + bool skip(false); +- if (hasPosX && (value == "left" || value == "right" || value == "centerx")) ++ if (hasPosX && (value == "left" || value == "right" || value == "centerleft" || value == "centerright")) + skip = true; +- if (hasPosY && (value == "top" || value == "bottom" || value == "centery")) ++ if (hasPosY && (value == "top" || value == "bottom" || value == "centertop" || value == "centerbottom")) + skip = true; + // we insert at the end of block + if (!skip) +-- +1.8.5.5 +