openbsd-ports/x11/openbox/patches/patch-src_blackbox_cc

13 lines
422 B
Plaintext

$OpenBSD: patch-src_blackbox_cc,v 1.1 2002/12/29 09:34:48 pvalchev Exp $
--- src/blackbox.cc.orig Sun Dec 29 01:17:13 2002
+++ src/blackbox.cc Sun Dec 29 01:17:22 2002
@@ -1129,7 +1129,7 @@ void Blackbox::restart(const char *prog)
if (prog) {
putenv(const_cast<char *>(screenList.front()->displayString().c_str()));
- execlp(prog, prog, NULL);
+ execlp(prog, prog, (void *)NULL);
perror(prog);
}