pkgsrc-wip/chromium/patches/patch-third__party_swiftsha...

23 lines
597 B
Plaintext

$NetBSD$
--- third_party/swiftshader/src/System/BUILD.gn.orig 2020-07-15 19:01:40.000000000 +0000
+++ third_party/swiftshader/src/System/BUILD.gn
@@ -28,7 +28,7 @@ swiftshader_source_set("System_headers")
"Socket.hpp",
"Timer.hpp",
]
- if (is_linux || is_android) {
+ if (is_linux || is_android || is_bsd) {
sources += [
"Linux/MemFd.hpp",
]
@@ -46,7 +46,7 @@ swiftshader_source_set("System") {
"Memory.cpp",
"Timer.cpp",
]
- if (is_linux || is_android) {
+ if (is_linux || is_android || is_bsd) {
sources += [
"Linux/MemFd.cpp",
]