mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
21 lines
828 B
Diff
21 lines
828 B
Diff
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];
|