openbsd-ports/x11/fluxbox/patches/patch-src_FbCommands_cc

13 lines
517 B
Plaintext

$OpenBSD: patch-src_FbCommands_cc,v 1.4 2005/01/23 12:44:10 matthieu Exp $
--- src/FbCommands.cc.orig Tue Nov 30 21:25:11 2004
+++ src/FbCommands.cc Tue Jan 11 00:16:40 2005
@@ -131,7 +131,7 @@ void ExecuteCmd::execute() {
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__