ports/www/chromium/files/patch-gpu__config__gpu_test_config.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

20 lines
624 B
C++

--- ./gpu/config/gpu_test_config.cc.orig 2014-08-12 21:01:09.000000000 +0200
+++ ./gpu/config/gpu_test_config.cc 2014-08-13 09:56:57.000000000 +0200
@@ -23,8 +23,6 @@
GPUTestConfig::OS GetCurrentOS() {
#if defined(OS_CHROMEOS)
return GPUTestConfig::kOsChromeOS;
-#elif defined(OS_LINUX) || defined(OS_OPENBSD)
- return GPUTestConfig::kOsLinux;
#elif defined(OS_WIN)
int32 major_version = 0;
int32 minor_version = 0;
@@ -61,6 +59,8 @@
}
#elif defined(OS_ANDROID)
return GPUTestConfig::kOsAndroid;
+#elif defined(OS_POSIX)
+ return GPUTestConfig::kOsLinux;
#endif
return GPUTestConfig::kOsUnknown;
}