blob: 7631969cd629979917811a2cbbac2569b3d82175 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From b7fa0aa00b07e03e338dd02af564431bf2f2b185 Mon Sep 17 00:00:00 2001
2From: Joshua Watt <Joshua.Watt@garmin.com>
3Date: Wed, 20 Nov 2019 15:24:02 -0600
4Subject: [PATCH] Fix source reproducibility
5
6The generated enum type files can be included in source packages meant
7for debugging, and thus need to be reproducible. Replace the absolute
8include of the header with the basename. This is sufficient because the
9target include files are always in the include path anyway.
10
11Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/at-spi2-core/merge_requests/25]
12Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
13---
14 atspi/atspi-enum-types.c.template | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/atspi/atspi-enum-types.c.template b/atspi/atspi-enum-types.c.template
18index 385d0ee..92e4937 100644
19--- a/atspi/atspi-enum-types.c.template
20+++ b/atspi/atspi-enum-types.c.template
21@@ -5,7 +5,7 @@
22
23 /*** BEGIN file-production ***/
24 /* enumerations from "@basename@" */
25-#include "@filename@"
26+#include "@basename@"
27
28 /*** END file-production ***/
29
30--
312.23.0
32