fontconfig: Branch 'main'

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

 



 src/cutout.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c42eb5b503a44b0b062b041d2e8a0138ce21a0c7
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Thu Oct 27 12:32:07 2022 +0900

    Fix the build issue on meson when -g option is added to c_args
    
    Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/335

diff --git a/src/cutout.py b/src/cutout.py
index 323eec8..6b46529 100644
--- a/src/cutout.py
+++ b/src/cutout.py
@@ -24,7 +24,8 @@ if __name__== '__main__':
                 break
 
     cpp = args[1]
-    ret = subprocess.run(cpp + host_cargs + [args[0].input], stdout=subprocess.PIPE, check=True)
+    cpp_args = [i for i in host_cargs + [args[0].input] if not i.startswith('-g')]
+    ret = subprocess.run(cpp + cpp_args, stdout=subprocess.PIPE, check=True)
 
     stdout = ret.stdout.decode('utf8')
 



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux