openbsd-ports/x11/gnustep/gworkspace/patches/patch-FSNode_FSNodeRep_m
sebastia fd174e2ac5 Add missing include paths to fix building, as found by ajacoutot@
Add missing dependency to automake, as found by landry@
While there, add patch to make it work that the user can u/mount drives via desktop icon

OK landry@
2011-01-14 13:07:13 +00:00

17 lines
569 B
Plaintext

$OpenBSD: patch-FSNode_FSNodeRep_m,v 1.1 2011/01/14 13:07:13 sebastia Exp $
OpenBSD and NetBSD don't have the -p mount option
--- FSNode/FSNodeRep.m.orig Wed Jan 12 08:16:20 2011
+++ FSNode/FSNodeRep.m Wed Jan 12 08:20:08 2011
@@ -757,7 +757,9 @@ static FSNodeRep *shared = nil;
NSFileHandle *handle = [pipe fileHandleForReading];
[task setLaunchPath: @"mount"];
+#if !defined(__OpenBSD__) && !defined(__NetBSD__)
[task setArguments: [NSArray arrayWithObject: @"-p"]];
+#endif
[task setStandardOutput: pipe];
[task launch];