diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch')
-rw-r--r-- | gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch b/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch new file mode 100644 index 000000000000..696a5c8d1754 --- /dev/null +++ b/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch @@ -0,0 +1,20 @@ +Decsription: Fix FTBFS due to invalid syntax that only works with Clang. +Author: Yavor Doganov <yavor@gnu.org> +Forwarded: info@cenon.com +Last-Update: 2018-03-12 +--- + +--- cenon.app.orig/VHFImport/PSImport.m ++++ cenon.app/VHFImport/PSImport.m +@@ -180,7 +180,10 @@ + NSString *output; + + [task setLaunchPath: @"/bin/sh"]; +- [task setArguments:@[@"-c", [NSString stringWithFormat:@"%@ -h | grep %@", gsPath, gsDev]] ]; ++ [task setArguments: ++ [NSArray arrayWithObjects: @"-c", ++ [NSString stringWithFormat:@"%@ -h | grep %@", ++ gsPath, gsDev], nil]]; + [task setStandardOutput:pipe]; + [task launch]; + output = [[NSString alloc] initWithData:[file readDataToEndOfFile] encoding:NSUTF8StringEncoding]; |