aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
-rw-r--r--meson.build2
2 files changed, 5 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2c14d6d0..3e59ea96 100644
--- a/main.c
+++ b/main.c
@@ -371,6 +371,10 @@ main(int argc, char *const *argv)
log_init(log_colorize, as_server && log_syslog,
as_server ? LOG_FACILITY_DAEMON : LOG_FACILITY_USER, log_level);
+ _Static_assert(LOG_CLASS_ERROR + 1 == FCFT_LOG_CLASS_ERROR,
+ "fixme: fcft log level enum offset");
+ fcft_log_init(log_colorize, as_server && log_syslog, log_level + 1);
+
argc -= optind;
argv += optind;
diff --git a/meson.build b/meson.build
index b8ba12e8..ffb4a7ae 100644
--- a/meson.build
+++ b/meson.build
@@ -73,7 +73,7 @@ xkb = dependency('xkbcommon', version: '>=1.0.0')
fontconfig = dependency('fontconfig')
tllist = dependency('tllist', version: '>=1.0.4', fallback: 'tllist')
-fcft = dependency('fcft', version: ['>=2.3.0', '<3.0.0'], fallback: 'fcft')
+fcft = dependency('fcft', version: ['>=2.3.90', '<3.0.0'], fallback: 'fcft')
tic = find_program('tic', native: true, required: get_option('terminfo'))
if tic.found()