5cb978edde
if he comes back. In the mean time, fix build of chromium by adding the required -I/usr/local/includes to gyp glue where needed.
30 lines
818 B
Plaintext
30 lines
818 B
Plaintext
$OpenBSD: patch-base_debug_util_posix_cc,v 1.1 2010/12/13 09:51:45 espie Exp $
|
|
--- base/debug_util_posix.cc.orig Tue Mar 30 07:28:44 2010
|
|
+++ base/debug_util_posix.cc Sun Nov 28 00:11:29 2010
|
|
@@ -8,7 +8,9 @@
|
|
#include <fcntl.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <limits.h>
|
|
#include <sys/stat.h>
|
|
+#include <sys/param.h>
|
|
#include <sys/sysctl.h>
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
@@ -221,12 +223,12 @@ bool DebugUtil::BeingDebugged() {
|
|
return pid_index < status.size() && status[pid_index] != '0';
|
|
}
|
|
|
|
-#elif defined(OS_FREEBSD)
|
|
+#elif defined(OS_OPENBSD)
|
|
|
|
bool DebugUtil::BeingDebugged() {
|
|
// TODO(benl): can we determine this under FreeBSD?
|
|
- NOTIMPLEMENTED();
|
|
- return false;
|
|
+ LOG(WARNING) << "Don't know how to do this";
|
|
+ return true;
|
|
}
|
|
|
|
#endif // defined(OS_FREEBSD)
|