diff options
Diffstat (limited to 'www/iridium/files/patch-printing_BUILD.gn')
-rw-r--r-- | www/iridium/files/patch-printing_BUILD.gn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-printing_BUILD.gn b/www/iridium/files/patch-printing_BUILD.gn new file mode 100644 index 000000000000..a9c4ad77952c --- /dev/null +++ b/www/iridium/files/patch-printing_BUILD.gn @@ -0,0 +1,20 @@ +--- printing/BUILD.gn.orig 2017-04-19 19:06:36 UTC ++++ printing/BUILD.gn +@@ -138,7 +138,7 @@ component("printing") { + if (use_cups) { + configs += [ ":cups" ] + +- if (is_linux) { ++ if (is_linux || is_bsd) { + # rebase_path does not accept an empty string + if (use_sysroot) { + cups_sysroot = rebase_path(sysroot) +@@ -215,7 +215,7 @@ component("printing") { + "printing_context_no_system_dialog.cc", + "printing_context_no_system_dialog.h", + ] +- } else if (is_linux) { # Non-ChromeOS Linux. ++ } else if (is_linux || is_bsd) { # Non-ChromeOS Linux/BSD. + sources += [ + "printed_document_linux.cc", + "printing_context_linux.cc", |