totem-pl-parser/0001-build-Fix-missing-TOTEM_PL_PARSER_CHECK_VERSION-macr.patch
2017-07-31 20:30:35 +01:00

32 lines
1.2 KiB
Diff

From cd8cec1cf7e16decf4733552b78e7c842c9833a7 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 22 Jun 2017 18:20:50 +0200
Subject: [PATCH] build: Fix missing TOTEM_PL_PARSER_CHECK_VERSION macro
Use totem-pl-parser-features.h.in as base to generate
totem-pl-parser-features.h so that TOTEM_PL_PARSER_CHECK_VERSION is
present.
https://bugzilla.gnome.org/show_bug.cgi?id=784098
---
plparse/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plparse/meson.build b/plparse/meson.build
index bfc95c5..bd8bac5 100644
--- a/plparse/meson.build
+++ b/plparse/meson.build
@@ -12,7 +12,8 @@ version_cdata = configuration_data()
version_cdata.set('TOTEM_PL_PARSER_VERSION_MAJOR', plparse_major_version)
version_cdata.set('TOTEM_PL_PARSER_VERSION_MINOR', plparse_minor_version)
version_cdata.set('TOTEM_PL_PARSER_VERSION_MICRO', plparse_micro_version)
-features_h = configure_file(output: 'totem-pl-parser-features.h',
+features_h = configure_file(input: 'totem-pl-parser-features.h.in',
+ output: 'totem-pl-parser-features.h',
install_dir: 'include/totem-pl-parser/1/plparser',
configuration: version_cdata)
--
2.13.0