diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-11-21 10:57:52 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-25 22:03:43 +0000 |
commit | 42458635b52f5cff6448d7440a44b03114e6842d (patch) | |
tree | 1bcae0d2fe34cb12827b26b6ec8aba9f11127755 /meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch | |
parent | 372793803f31ccd7cfa8c6cc79cb2340b0ebc3d3 (diff) | |
download | openembedded-core-contrib-42458635b52f5cff6448d7440a44b03114e6842d.tar.gz |
at-spi2-core: Fix reproducibility
Adds a patch to fix to make the -src packages reproducible
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch')
-rw-r--r-- | meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch b/meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch new file mode 100644 index 0000000000..7631969cd6 --- /dev/null +++ b/meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch @@ -0,0 +1,32 @@ +From b7fa0aa00b07e03e338dd02af564431bf2f2b185 Mon Sep 17 00:00:00 2001 +From: Joshua Watt <Joshua.Watt@garmin.com> +Date: Wed, 20 Nov 2019 15:24:02 -0600 +Subject: [PATCH] Fix source reproducibility + +The generated enum type files can be included in source packages meant +for debugging, and thus need to be reproducible. Replace the absolute +include of the header with the basename. This is sufficient because the +target include files are always in the include path anyway. + +Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/at-spi2-core/merge_requests/25] +Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> +--- + atspi/atspi-enum-types.c.template | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/atspi/atspi-enum-types.c.template b/atspi/atspi-enum-types.c.template +index 385d0ee..92e4937 100644 +--- a/atspi/atspi-enum-types.c.template ++++ b/atspi/atspi-enum-types.c.template +@@ -5,7 +5,7 @@ + + /*** BEGIN file-production ***/ + /* enumerations from "@basename@" */ +-#include "@filename@" ++#include "@basename@" + + /*** END file-production ***/ + +-- +2.23.0 + |