From f998eaf9728b831d8447dbda4e3fba4b6f98cbfa Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" Date: Sat, 24 Apr 2021 17:21:17 -0400 Subject: [PATCH] * builds/meson/process_ftoption_h.py: Add LF at EOF. This fixes .../ftoption.h:1030:10: error: no newline at end of file [-Werror,-Wnewline-eof] for the generated `ftoption.h` file. --- ChangeLog | 11 +++++++++++ builds/meson/process_ftoption_h.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 61b942fda..0a72e1b54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2021-04-25 Issam E. Maghni + + * builds/meson/process_ftoption_h.py: Add LF at EOF. + + This fixes + + .../ftoption.h:1030:10: error: + no newline at end of file [-Werror,-Wnewline-eof] + + for the generated `ftoption.h` file. + 2021-04-24 Alexei Podtelezhnikov * src/cff/cffload.c (cff_index_get_pointers): s/FT_QALLOC/FT_ALLOC/. diff --git a/builds/meson/process_ftoption_h.py b/builds/meson/process_ftoption_h.py index a6e949c12..fe6088785 100644 --- a/builds/meson/process_ftoption_h.py +++ b/builds/meson/process_ftoption_h.py @@ -92,7 +92,7 @@ def main(): line = "#define " + option_name new_lines.append(line) - result = "\n".join(new_lines) + result = "\n".join(new_lines) + "\n" # Sanity check that all command-line options were actually processed. cmdline_options = set(args.enable) | set(args.disable)