aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-printing_backend_print__backend__cups.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-printing_backend_print__backend__cups.cc')
-rw-r--r--devel/electron33/files/patch-printing_backend_print__backend__cups.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron33/files/patch-printing_backend_print__backend__cups.cc b/devel/electron33/files/patch-printing_backend_print__backend__cups.cc
deleted file mode 100644
index cf49a934759f..000000000000
--- a/devel/electron33/files/patch-printing_backend_print__backend__cups.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- printing/backend/print_backend_cups.cc.orig 2024-10-16 21:31:37 UTC
-+++ printing/backend/print_backend_cups.cc
-@@ -33,7 +33,7 @@
- #include "printing/mojom/print.mojom.h"
- #include "url/gurl.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #include "base/feature_list.h"
- #include "printing/backend/cups_connection.h"
- #include "printing/backend/print_backend_cups_ipp.h"
-@@ -63,7 +63,7 @@ int CaptureCupsDestCallback(void* data, unsigned flags
- return 1; // Keep going.
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- // This may be removed when Amazon Linux 2 reaches EOL (30 Jun 2025).
- bool AreNewerCupsFunctionsAvailable() {
- return cupsFindDestDefault && cupsFindDestSupported && ippValidateAttributes;
-@@ -291,7 +291,7 @@ scoped_refptr<PrintBackend> PrintBackend::CreateInstan
- #if !BUILDFLAG(IS_CHROMEOS)
- scoped_refptr<PrintBackend> PrintBackend::CreateInstanceImpl(
- const std::string& locale) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- if (AreNewerCupsFunctionsAvailable() &&
- base::FeatureList::IsEnabled(features::kCupsIppPrintingBackend)) {
- return base::MakeRefCounted<PrintBackendCupsIpp>(CupsConnection::Create());