diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2019-08-13 13:59:38 -0700 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2019-08-13 13:59:49 -0700 |
commit | f0daa498c4a6011ddc4ad81f6efddeb4ecd60cbd (patch) | |
tree | af1c2972c87282ba2cb4009c592a0c2c25cb303d | |
parent | 632f4ed16f2bc9c6b4db07df2add7a9339a0887f (diff) | |
download | libchamplain-f0daa498c4a6011ddc4ad81f6efddeb4ecd60cbd.tar.gz |
Make the build reproducible
Whilst working on the Reproducible Builds effort [0] we noticed
that libchamplain could not be built reproducibly. This is because
it used the absolute build path in the comments of the .h files
generated my glib-mkenums.
Patch attached. It also changes the equivalent .c file for
completeness but this is not strictly required.
[0] https://reproducible-builds.org/
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rw-r--r-- | champlain/champlain-enum-types.c.in | 2 | ||||
-rw-r--r-- | champlain/champlain-enum-types.h.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/champlain/champlain-enum-types.c.in b/champlain/champlain-enum-types.c.in index f05069c..9c5ae1b 100644 --- a/champlain/champlain-enum-types.c.in +++ b/champlain/champlain-enum-types.c.in @@ -6,7 +6,7 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/champlain/champlain-enum-types.h.in b/champlain/champlain-enum-types.h.in index 276fbf3..e8cb249 100644 --- a/champlain/champlain-enum-types.h.in +++ b/champlain/champlain-enum-types.h.in @@ -9,7 +9,7 @@ G_BEGIN_DECLS /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ |