mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 00:09:15 -04:00
- Fix build with gcc 4.2 PR: 117776 Submitted by: pietro cerutti <gahr@gahr.ch> Approved by: portmgr (pav)
11 lines
404 B
C++
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);
|