aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc b/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc
new file mode 100644
index 000000000000..2a44962b58a7
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc
@@ -0,0 +1,11 @@
+--- printing/backend/cups_ipp_helper.cc.orig 2023-04-08 11:38:38 UTC
++++ printing/backend/cups_ipp_helper.cc
+@@ -210,7 +210,7 @@ void ExtractResolutions(const CupsOptionProvider& prin
+ // Provide a default DPI if no valid DPI is found.
+ #if BUILDFLAG(IS_MAC)
+ constexpr gfx::Size kDefaultMissingDpi(kDefaultMacDpi, kDefaultMacDpi);
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ constexpr gfx::Size kDefaultMissingDpi(kPixelsPerInch, kPixelsPerInch);
+ #else
+ constexpr gfx::Size kDefaultMissingDpi(kDefaultPdfDpi, kDefaultPdfDpi);