openbsd-ports/x11/fluxbox/patches/patch-src_FbCommands_cc
robert 97859f4f1f update to 0.9.9 (developement release); 1.0.0 will be the stable one.
mainly from Francois Briere <f.briere@dopha.org>; modifications from me
ok naddy@
2004-04-28 18:10:34 +00:00

13 lines
484 B
Plaintext

$OpenBSD: patch-src_FbCommands_cc,v 1.3 2004/04/28 18:10:34 robert Exp $
--- src/FbCommands.cc.orig Sun Apr 18 13:51:59 2004
+++ src/FbCommands.cc Sun Apr 18 13:53:17 2004
@@ -65,7 +65,7 @@
displaystring += intbuff;
setsid();
putenv(const_cast<char *>(displaystring.c_str()));
- execl("/bin/sh", "/bin/sh", "-c", m_cmd.c_str(), 0);
+ execl("/bin/sh", "/bin/sh", "-c", m_cmd.c_str(), (void *)NULL);
exit(0);
}
#else // __EMX__