summaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-printing_printing__features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron36/files/patch-printing_printing__features.cc')
-rw-r--r--devel/electron36/files/patch-printing_printing__features.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-printing_printing__features.cc b/devel/electron36/files/patch-printing_printing__features.cc
new file mode 100644
index 000000000000..8945df6272bb
--- /dev/null
+++ b/devel/electron36/files/patch-printing_printing__features.cc
@@ -0,0 +1,26 @@
+--- printing/printing_features.cc.orig 2025-04-22 20:15:27 UTC
++++ printing/printing_features.cc
+@@ -26,12 +26,12 @@ BASE_FEATURE(kApiPrintingMarginsAndScale,
+ base::FEATURE_DISABLED_BY_DEFAULT);
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ // Use the CUPS IPP printing backend instead of the original CUPS backend that
+ // calls the deprecated PPD API.
+ BASE_FEATURE(kCupsIppPrintingBackend,
+ "CupsIppPrintingBackend",
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ base::FEATURE_DISABLED_BY_DEFAULT
+ #else
+ base::FEATURE_ENABLED_BY_DEFAULT
+@@ -81,7 +81,7 @@ BASE_FEATURE(kEnableOopPrintDrivers,
+ // out-of-process.
+ BASE_FEATURE(kEnableOopPrintDrivers,
+ "EnableOopPrintDrivers",
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT