4d8d36
From 88461473c20a6a7e4d61d144de083340d65eb75a Mon Sep 17 00:00:00 2001
4d8d36
From: Bastien Nocera <hadess@hadess.net>
4d8d36
Date: Wed, 18 Jul 2018 13:50:23 +0200
4d8d36
Subject: [PATCH] build: Don't use a full path inside generated enum header
4d8d36
4d8d36
It causes multilib problems.
4d8d36
---
4d8d36
 libgweather/gweather-enum-types.c.tmpl | 2 +-
4d8d36
 libgweather/gweather-enum-types.h.tmpl | 2 +-
4d8d36
 2 files changed, 2 insertions(+), 2 deletions(-)
4d8d36
4d8d36
diff --git a/libgweather/gweather-enum-types.c.tmpl b/libgweather/gweather-enum-types.c.tmpl
4d8d36
index 4430bda..fe1f7c4 100644
4d8d36
--- a/libgweather/gweather-enum-types.c.tmpl
4d8d36
+++ b/libgweather/gweather-enum-types.c.tmpl
4d8d36
@@ -7,7 +7,7 @@
4d8d36
 /*** END file-header ***/
4d8d36
 
4d8d36
 /*** BEGIN file-production ***/
4d8d36
-/* enumerations from "@filename@" */
4d8d36
+/* enumerations from "@basename@" */
4d8d36
 /*** END file-production ***/
4d8d36
 
4d8d36
 /*** BEGIN value-header ***/
4d8d36
diff --git a/libgweather/gweather-enum-types.h.tmpl b/libgweather/gweather-enum-types.h.tmpl
4d8d36
index 3ca1995..d50063d 100644
4d8d36
--- a/libgweather/gweather-enum-types.h.tmpl
4d8d36
+++ b/libgweather/gweather-enum-types.h.tmpl
4d8d36
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
4d8d36
 
4d8d36
 /*** BEGIN file-production ***/
4d8d36
 
4d8d36
-/* enumerations from "@filename@" */
4d8d36
+/* enumerations from "@basename@" */
4d8d36
 /*** END file-production ***/
4d8d36
 
4d8d36
 /*** BEGIN value-header ***/
4d8d36
-- 
4d8d36
2.21.0
4d8d36