mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 00:31:51 -04:00
Office team is proud to announce LibreOffice 7.5 Community, the new major release of the volunteer-supported free office suite for desktop productivity Read more: https://blog.documentfoundation.org/blog/2023/02/02/tdf-announces-libreoffice-75-community/
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
Index: external/pdfium/pdfium-bsd.patch
|
|
--- external/pdfium/pdfium-bsd.patch.orig 2022-02-15 12:21:30 UTC
|
|
+++ external/pdfium/pdfium-bsd.patch
|
|
@@ -0,0 +1,22 @@
|
|
+--- core/fxge/linux/fx_linux_impl.cpp.orig Thu Feb 3 17:25:22 2022
|
|
++++ core/fxge/linux/fx_linux_impl.cpp Thu Feb
|
|
+@@ -18,7 +18,7 @@
|
|
+ #include "third_party/base/check.h"
|
|
+
|
|
+ #if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !defined(OS_FUCHSIA) && \
|
|
+- !defined(OS_ASMJS)
|
|
++ !defined(OS_ASMJS) && !defined(OS_FREEBSD) && !defined(OS_OPENBSD)
|
|
+ #error "Included on the wrong platform"
|
|
+ #endif
|
|
+
|
|
+--- core/fxge/cfx_fontmapper.cpp.orig Thu Feb 3 17:25:53 2022
|
|
++++ core/fxge/cfx_fontmapper.cpp Thu Feb
|
|
+@@ -155,7 +155,7 @@ constexpr AltFontFamily kAltFontFamilies[] = {
|
|
+ {"ForteMT", "Forte"},
|
|
+ };
|
|
+
|
|
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || defined(OS_ASMJS)
|
|
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || defined(OS_ASMJS) || defined(OS_FREEBSD) || defined(OS_OPENBSD)
|
|
+ const char kNarrowFamily[] = "LiberationSansNarrow";
|
|
+ #elif BUILDFLAG(IS_ANDROID)
|
|
+ const char kNarrowFamily[] = "RobotoCondensed";
|