freebsd-ports/deskutils/google-gadgets/files/patch-gadgets_designer_designer__script__utils.cc
Martin Wilke 5250a0223f - Update to 0.10.2
PR:		128077
Submitted by:	Ashish Shukla <wahjava@gmail.com> (maintainer)
2008-10-19 14:59:04 +00:00

14 lines
375 B
C++

$FreeBSD$
--- gadgets/designer/designer_script_utils.cc.orig
+++ gadgets/designer/designer_script_utils.cc
@@ -231,7 +231,7 @@
if ((pid = fork()) == 0) {
if (fork() != 0)
_exit(0);
- execlp(command, command, file, NULL);
+ execlp(command, command, file, (char*)0);
DLOG("Failed to exec command: %s", command);
_exit(-1);
}