aboutsummaryrefslogtreecommitdiff
path: root/package/pkgconf
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <berndkuhls@hotmail.com>2014-03-29 21:56:08 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-29 23:11:26 +0100
commitf467e8d91a328aaa3a4821ea1b7366b506f1318e (patch)
tree17b30223fd4227ae0762a529ed85b1dd19b13c17 /package/pkgconf
parent70c36b8c413a505440659c91b600a374f40ff6f9 (diff)
downloadbuildroot-f467e8d91a328aaa3a4821ea1b7366b506f1318e.tar.gz
buildroot-f467e8d91a328aaa3a4821ea1b7366b506f1318e.tar.bz2
pkgconf: rewrite variable sdkdir, needed by xdriver_xf86-video-intel
- rename patch file to include the apply order Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkgconf')
-rw-r--r--package/pkgconf/pkgconf-01-fix-variable.patch (renamed from package/pkgconf/pkgconf-fix-variable.patch)4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/pkgconf/pkgconf-fix-variable.patch b/package/pkgconf/pkgconf-01-fix-variable.patch
index e19f76c90c..4c213d6ee8 100644
--- a/package/pkgconf/pkgconf-fix-variable.patch
+++ b/package/pkgconf/pkgconf-01-fix-variable.patch
@@ -7,17 +7,19 @@ This is sometimes used to find header files (E.G. in gst-plugins configure),
so ensure the sysroot'ed files are used.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
diff -Nura pkgconf-0.8.9.orig/main.c pkgconf-0.8.9/main.c
--- pkgconf-0.8.9.orig/main.c 2012-10-24 14:32:08.236508699 -0300
+++ pkgconf-0.8.9/main.c 2012-10-24 14:54:36.771070217 -0300
-@@ -298,7 +298,12 @@
+@@ -298,7 +298,13 @@
if (eflag != PKG_ERRF_OK)
return false;
- printf("%s\n", req.buf);
+ if ( !strcmp(req.variable, "includedir") ||
+ !strcmp(req.variable, "mapdir") ||
++ !strcmp(req.variable, "sdkdir") ||
+ !strcmp(req.variable, "libdir"))
+ printf("%s%s\n", sysroot_dir, req.buf);
+ else