summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/wayland-protocols/usesysrootprefixforpkgdatadirvariable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland/wayland-protocols/usesysrootprefixforpkgdatadirvariable.patch')
-rw-r--r--meta/recipes-graphics/wayland/wayland-protocols/usesysrootprefixforpkgdatadirvariable.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-graphics/wayland/wayland-protocols/usesysrootprefixforpkgdatadirvariable.patch b/meta/recipes-graphics/wayland/wayland-protocols/usesysrootprefixforpkgdatadirvariable.patch
deleted file mode 100644
index 0922a4d2c2..0000000000
--- a/meta/recipes-graphics/wayland/wayland-protocols/usesysrootprefixforpkgdatadirvariable.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 875130ee3cbcf62266901ef4b91b9a0fb6adad43 Mon Sep 17 00:00:00 2001
2From: Tomek Bury <tomek.bury@broadcom.com>
3Date: Fri, 4 Aug 2017 16:16:38 +0100
4Subject: Use sysroot prefix for pkgdatadir variable
5
6The pc_sysroot is automatically added to cflags and libs but not
7to 'pkg-config --variable'
8
9Upstream-Status: Backport [https://cgit.freedesktop.org/wayland/wayland-protocols/commit/?id=875130ee3cbcf62266901ef4b91b9a0fb6adad43]
10
11Reviewed-by: Daniel Stone <daniels@collabora.com>
12
13diff --git a/wayland-protocols.pc.in b/wayland-protocols.pc.in
14index a26744c..379be06 100644
15--- a/wayland-protocols.pc.in
16+++ b/wayland-protocols.pc.in
17@@ -1,6 +1,6 @@
18 prefix=@prefix@
19 datarootdir=@datarootdir@
20-pkgdatadir=@datadir@/@PACKAGE@
21+pkgdatadir=${pc_sysrootdir}@datadir@/@PACKAGE@
22
23 Name: Wayland Protocols
24 Description: Wayland protocol files
25--
26cgit v0.10.2
27