Are there issues when using openat() et al. on FreeBSD 8.0 and forward?
Index: www/chromium/files/patch-chrome__browser__shell_integration_linux.cc
===================================================================
--- www/chromium/files/patch-chrome__browser__shell_integration_linux.cc
(revision 309498)
+++ www/chromium/files/patch-chrome__browser__shell_integration_linux.cc
(working copy)
@@ -4,7 +4,7 @@
if (!PathService::Get(chrome::DIR_USER_DESKTOP, &desktop_path))
return false;
-+#if !defined(OS_FREEBSD)
++#ifdef O_DIRECTORY
+// BSD: Linux-specific calls like openat are used so defined out for BSD.
int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY);
if (desktop_fd < 0)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to "[email protected]"