aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_set__process__title__linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_common_set__process__title__linux.h')
-rw-r--r--www/chromium/files/patch-content_common_set__process__title__linux.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_common_set__process__title__linux.h b/www/chromium/files/patch-content_common_set__process__title__linux.h
new file mode 100644
index 000000000000..d0e2de386688
--- /dev/null
+++ b/www/chromium/files/patch-content_common_set__process__title__linux.h
@@ -0,0 +1,20 @@
+--- content/common/set_process_title_linux.h.orig 2016-03-25 13:04:48 UTC
++++ content/common/set_process_title_linux.h
+@@ -5,6 +5,9 @@
+ #ifndef CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_
+ #define CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_
+
++#include "build/build_config.h"
++
++#if !defined(OS_FREEBSD)
+ // Set the process title that will show in "ps" and similar tools. Takes
+ // printf-style format string and arguments. After calling setproctitle()
+ // the original main() argv[] array should not be used. By default, the
+@@ -14,6 +17,7 @@
+ // This signature and naming is to be compatible with most other Unix
+ // implementations of setproctitle().
+ void setproctitle(const char* fmt, ...);
++#endif
+
+ // Initialize state needed for setproctitle() on Linux. Pass the argv pointer
+ // from main() to setproctitle_init() before calling setproctitle().