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

13 lines
554 B
Plaintext

$OpenBSD: patch-util_epist_screen_cc,v 1.1 2002/12/29 09:34:48 pvalchev Exp $
--- util/epist/screen.cc.orig Sun Dec 29 01:17:45 2002
+++ util/epist/screen.cc Sun Dec 29 01:17:51 2002
@@ -581,7 +581,7 @@ void screen::execCommand(const string &c
cout << "warning: couldn't set environment variable 'DISPLAY'\n";
perror("putenv()");
}
- execl("/bin/sh", "sh", "-c", cmd.c_str(), NULL);
+ execl("/bin/sh", "sh", "-c", cmd.c_str(), (void *)NULL);
exit(-1);
} else if (pid == -1) {
cout << _epist->getApplicationName() <<