Patchwork [2011.03-maintenance,1/1] pango-native: add libxrender-native to dependencies

login
register
mail settings
Submitter Steffen Sledz
Date Oct. 9, 2012, 8:49 a.m.
Message ID <cd110a86574144e0f9580bbc7cd4b4c3b0240710.1349772345.git.sledz@dresearch-fe.de>
Download mbox | patch
Permalink /patch/37989/
State Accepted
Headers show

Comments

Steffen Sledz - Oct. 9, 2012, 8:49 a.m.
This avoids a link error on build hosts with newer libXrender installation.

| /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libXrender.so:  undefined reference to `_XGetRequest'
| collect2: error: ld returned 1 exit status

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
---
 recipes/pango/pango.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes/pango/pango.inc b/recipes/pango/pango.inc
index c54fbad..b5a2649 100644
--- a/recipes/pango/pango.inc
+++ b/recipes/pango/pango.inc
@@ -10,7 +10,7 @@  SECTION = "x11/libs"
 
 DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc cairo"
 
-DEPENDS_virtclass-native = "glib-2.0-native cairo-native"
+DEPENDS_virtclass-native = "glib-2.0-native cairo-native libxrender-native"
 BBCLASSEXTEND = "native"
 
 PACKAGES_DYNAMIC = "pango-module-*"
@@ -20,7 +20,7 @@  RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc"
 RRECOMMENDS_${PN}_virtclass-native = ""
 
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 # seems to go wrong with default cflags
 FULL_OPTIMIZATION_arm = "-O2"