aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron39/files/patch-printing_printing__features.cc
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron39/files/patch-printing_printing__features.cc
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron39/files/patch-printing_printing__features.cc')
-rw-r--r--devel/electron39/files/patch-printing_printing__features.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-printing_printing__features.cc b/devel/electron39/files/patch-printing_printing__features.cc
new file mode 100644
index 000000000000..b1bbf00f6d1d
--- /dev/null
+++ b/devel/electron39/files/patch-printing_printing__features.cc
@@ -0,0 +1,20 @@
+--- printing/printing_features.cc.orig 2025-10-21 20:19:54 UTC
++++ printing/printing_features.cc
+@@ -22,7 +22,7 @@ BASE_FEATURE(kApiPrintingMarginsAndScale, base::FEATUR
+ BASE_FEATURE(kApiPrintingMarginsAndScale, base::FEATURE_DISABLED_BY_DEFAULT);
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Use the CUPS IPP printing backend instead of the original CUPS backend that
+ // calls the deprecated PPD API.
+ BASE_FEATURE(kCupsIppPrintingBackend, base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -54,7 +54,7 @@ BASE_FEATURE(kEnableOopPrintDrivers,
+ // Enables printing interactions with the operating system to be performed
+ // out-of-process.
+ BASE_FEATURE(kEnableOopPrintDrivers,
+-#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