chromium 37 up for testing (and polishing)

Carlos Jacobo Puga Medina cpm at fbsd.es
Sat Aug 23 17:19:37 UTC 2014


> In file included from ../../base/files/file_path_watcher_kqueue.cc:5:
> In file included from ../../base/files/file_path_watcher_kqueue.h:8:
> /usr/include/sys/event.h:58:2: error: unknown type name 'uintptr_t'
>         uintptr_t       ident;          /* identifier for this event */
>         ^
> /usr/include/sys/event.h:60:2: error: unknown type name 'u_short'; did
> you mean 'short'?
>         u_short         flags;
>         ^
> /usr/include/sys/event.h:61:2: error: unknown type name 'u_int'
>         u_int           fflags;
>         ^
> /usr/include/sys/event.h:62:2: error: unknown type name 'intptr_t'
>         intptr_t        data;
>         ^
> 4 errors generated.
> ninja: build stopped: subcommand failed.
> *** Error code 1

Try the following patch:

--- ./base/files/file_path_watcher_kqueue.h.orig	2014-08-23 16:33:25.000000000 +0200
+++ ./base/files/file_path_watcher_kqueue.h	2014-08-23 16:35:51.000000000 +0200
@@ -5,6 +5,8 @@
 #ifndef BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
 #define BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
 
+#include <sys/stdint.h>
+#include <sys/types.h>
 #include <sys/event.h>
 #include <vector>


Regards,
-- 
Carlos Jacobo Puga Medina <cpm at fbsd.es>


More information about the freebsd-chromium mailing list