ref: f998eaf9728b831d8447dbda4e3fba4b6f98cbfa
parent: c78f78fab46669235aa9fa20e37e35b14773d2e0
author: Issam E. Maghni <issam.e.maghni@mailbox.org>
date: Sat Apr 24 13:21:17 EDT 2021
* 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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2021-04-25 Issam E. Maghni <issam.e.maghni@mailbox.org>
+
+ * 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 <apodtele@gmail.com>
* src/cff/cffload.c (cff_index_get_pointers): s/FT_QALLOC/FT_ALLOC/.
--- a/builds/meson/process_ftoption_h.py
+++ b/builds/meson/process_ftoption_h.py
@@ -92,7 +92,7 @@
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)