aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-printing_BUILD.gn
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
committerRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
commit9187a6460fc419eec4dc64a4569e306722a83427 (patch)
treeb3d680efe613bd39a30a50f60bcb0ce36a78eab2 /www/chromium/files/patch-printing_BUILD.gn
parent856d6fcc598498ef2f8b9cac423158f32ccd5e6f (diff)
downloadports-9187a6460fc419eec4dc64a4569e306722a83427.tar.gz
ports-9187a6460fc419eec4dc64a4569e306722a83427.zip
Notes
Diffstat (limited to 'www/chromium/files/patch-printing_BUILD.gn')
-rw-r--r--www/chromium/files/patch-printing_BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-printing_BUILD.gn b/www/chromium/files/patch-printing_BUILD.gn
new file mode 100644
index 000000000000..f99aabe202bb
--- /dev/null
+++ b/www/chromium/files/patch-printing_BUILD.gn
@@ -0,0 +1,20 @@
+--- printing/BUILD.gn.orig 2016-10-06 04:02:23.000000000 +0300
++++ printing/BUILD.gn 2016-10-13 08:13:38.178051000 +0300
+@@ -125,7 +125,7 @@
+ 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)
+@@ -202,7 +202,7 @@
+ "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",