libfprint/SOURCES/0083-meson-Include-fpi-context.h-in-generated-fp-drivers..patch
2021-09-09 20:12:48 +00:00

26 lines
812 B
Diff

From 4b6c3446e9be0ff5d03aa1fe24d79762d93b7ec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Wed, 4 Dec 2019 13:34:14 +0100
Subject: [PATCH 083/181] meson: Include fpi-context.h in generated
fp-drivers.c
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 09abc1f..265ce30 100644
--- a/meson.build
+++ b/meson.build
@@ -118,6 +118,7 @@ endforeach
# Export the drivers' types to the core code
drivers_type_list = '#include <glib-object.h>\n'
+drivers_type_list += '#include "fpi-context.h"\n'
drivers_type_func = 'void fpi_get_driver_types(GArray *drivers)\n{\n\tGType t;\n'
foreach driver: drivers
drivers_type_list += 'extern GType (fpi_device_' + driver + '_get_type) (void);\n'
--
2.24.1