freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master f998eaf: * builds/meson/process_ftoption_h.py: Add LF


From: Werner Lemberg
Subject: [freetype2] master f998eaf: * builds/meson/process_ftoption_h.py: Add LF at EOF.
Date: Sun, 25 Apr 2021 14:32:00 -0400 (EDT)

branch: master
commit f998eaf9728b831d8447dbda4e3fba4b6f98cbfa
Author: Issam E. Maghni <issam.e.maghni@mailbox.org>
Commit: Werner Lemberg <wl@gnu.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.
---
 ChangeLog                          | 11 +++++++++++
 builds/meson/process_ftoption_h.py |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 61b942f..0a72e1b 100644
--- 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/.
diff --git a/builds/meson/process_ftoption_h.py 
b/builds/meson/process_ftoption_h.py
index a6e949c..fe60887 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]