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>
This commit is contained in:
parent
70c36b8c41
commit
f467e8d91a
@ -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.
|
so ensure the sysroot'ed files are used.
|
||||||
|
|
||||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
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
|
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.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
|
+++ 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)
|
if (eflag != PKG_ERRF_OK)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
- printf("%s\n", req.buf);
|
- printf("%s\n", req.buf);
|
||||||
+ if ( !strcmp(req.variable, "includedir") ||
|
+ if ( !strcmp(req.variable, "includedir") ||
|
||||||
+ !strcmp(req.variable, "mapdir") ||
|
+ !strcmp(req.variable, "mapdir") ||
|
||||||
|
+ !strcmp(req.variable, "sdkdir") ||
|
||||||
+ !strcmp(req.variable, "libdir"))
|
+ !strcmp(req.variable, "libdir"))
|
||||||
+ printf("%s%s\n", sysroot_dir, req.buf);
|
+ printf("%s%s\n", sysroot_dir, req.buf);
|
||||||
+ else
|
+ else
|
Loading…
Reference in New Issue
Block a user