summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/libhandy/libhandy/determinism.patch
blob: 7c4177f5f50595a83a938605ebb2da9df3948d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
hdy-enums*.c.in: Fix reproducibility issue

When full filenames are used in generated sources it makes the resulting
debug packages non-reproducible. Best practise is to use basename in
comments instead.

Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/734]

Index: a/src/hdy-enums-private.c.in
===================================================================
--- a/src/hdy-enums-private.c.in
+++ b/src/hdy-enums-private.c.in
@@ -7,7 +7,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
Index: a/src/hdy-enums.c.in
===================================================================
--- a/src/hdy-enums.c.in
+++ b/src/hdy-enums.c.in
@@ -13,7 +13,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/