diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch new file mode 100644 index 0000000000..54d128cb39 --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | sdksyms.sh: don't embed the build path | ||
2 | |||
3 | This script generates a header that has a comment containing the build path for | ||
4 | no real reason. As this source can end up deployed on targets in debug packages | ||
5 | this means there is both potentially sensitive information leakage about the | ||
6 | build environment, and a source of change for reproducible builds. | ||
7 | |||
8 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/xorg/xserver/merge_requests/253] | ||
9 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
10 | |||
11 | diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh | ||
12 | index 39e33711d..cdb3794b9 100755 | ||
13 | --- a/hw/xfree86/sdksyms.sh | ||
14 | +++ b/hw/xfree86/sdksyms.sh | ||
15 | @@ -308,7 +308,6 @@ BEGIN { | ||
16 | print(" * These symbols are referenced to ensure they"); | ||
17 | print(" * will be available in the X Server binary."); | ||
18 | print(" */"); | ||
19 | - printf("/* topdir=%s */\n", topdir); | ||
20 | print("_X_HIDDEN void *xorg_symbols[] = {"); | ||
21 | |||
22 | printf("sdksyms.c:") > "sdksyms.dep"; | ||