ports/editors/zoinks/files/patch-ide-TProjectDocument.cpp
Martin Wilke 9fe1834c7a - Unbreak
- Fix build with gcc 4.2

PR:		117776
Submitted by:	pietro cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-05 10:04:15 +00:00

11 lines
404 B
C++

--- ide/TProjectDocument.cpp.orig 2007-11-04 22:37:49.000000000 +0100
+++ ide/TProjectDocument.cpp 2007-11-04 22:38:02.000000000 +0100
@@ -539,7 +539,7 @@
chdir(workingDirectory);
const char* command = fExternalDebuggerCommand;
- execl("/bin/sh", "sh", "-c", command, NULL);
+ execl("/bin/sh", "sh", "-c", command, (char *)NULL);
}
else if (pid < 0)
ThrowSystemError(pid);