ports/www/chromium/files/patch-ui__views__views_delegate.cc
Rene Ladan abb2b41ec6 - Update to 36.0.1985.143 and unforbid
- Use a lot of ports dependencies instead of bundled versions
  (idea from Gentoo Linux)
- Make patches more compatible with OpenBSD
- Add note about Python (only relevant for DIY builds)

- Install more icons into PREFIX/share/icons/hicolor/XxY/apps/
- Mute mkdir in installation
- Install mksnapshot binary
- Do not install bundled protoc binary

Obtained from:	Gentoo, OpenBSD, various contributors in freebsd-chromium@
MFH:		2014Q3
Security:	http://www.vuxml.org/freebsd/df7754c0-2294-11e4-b505-000c6e25e3e9.html
2014-08-14 21:48:32 +00:00

11 lines
459 B
C++

--- ./ui/views/views_delegate.cc.orig 2014-08-12 21:02:26.000000000 +0200
+++ ./ui/views/views_delegate.cc 2014-08-13 09:57:00.000000000 +0200
@@ -50,7 +50,7 @@
bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
return false;
}
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_FREEBSD)
gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
return NULL;
}