summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch')
-rw-r--r--meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch b/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch
deleted file mode 100644
index 0eb7244186..0000000000
--- a/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 0f06c4cb4a57083c08312144b03c8346cf620be6 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Oct 2020 22:15:29 +0000
4Subject: [PATCH] json-glib/json-enum-types.c.in: fix build reproducibility
5
6Changes the comment and include to reference the file basename
7instead of the full path. This ensures that the generated file is
8reproducible when it is included in source packages meant for debugging.
9
10Upstream-Status: Backport [6f3842abd5dff68b6ee5f2ef48a4ebf1cbebf434]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12---
13 json-glib/json-enum-types.c.in | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/json-glib/json-enum-types.c.in b/json-glib/json-enum-types.c.in
17index da07c46..7b39290 100644
18--- a/json-glib/json-enum-types.c.in
19+++ b/json-glib/json-enum-types.c.in
20@@ -9,8 +9,8 @@
21
22 /*** BEGIN file-production ***/
23
24-/* enumerations from "@filename@" */
25-#include "@filename@"
26+/* enumerations from "@basename@" */
27+#include "@basename@"
28
29 /*** END file-production ***/
30