Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2026 17:55:53 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1da7f9bfef4f - main - editors/libreoffice: Fixed the broken shared library libpdfiumlo.so by adding a patch
Message-ID:  <69d3f3a9.215cd.3f80835f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1da7f9bfef4f1661c7edce2292c919a315cbce79

commit 1da7f9bfef4f1661c7edce2292c919a315cbce79
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-06 16:32:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-06 17:55:47 +0000

    editors/libreoffice: Fixed the broken shared library libpdfiumlo.so by adding a patch
    
    PR:             294276
    Approved by:    portmgr@ (unbreak; bundled shared lib unbreak)
---
 editors/libreoffice/Makefile                       |  2 +-
 .../files/patch-external_pdfium_Library__pdfium.mk | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 4349de21bd71..049a75243571 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	1
+PORTREVISION=	2
 
 .include "${.CURDIR}/Makefile.common"
 
diff --git a/editors/libreoffice/files/patch-external_pdfium_Library__pdfium.mk b/editors/libreoffice/files/patch-external_pdfium_Library__pdfium.mk
new file mode 100644
index 000000000000..c6a79508e779
--- /dev/null
+++ b/editors/libreoffice/files/patch-external_pdfium_Library__pdfium.mk
@@ -0,0 +1,26 @@
+- fix https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294276: libpdfiumlo.so that libreoffice installs has at least one undefined symbol: opj_image_destroy
+
+--- external/pdfium/Library_pdfium.mk.orig
++++ external/pdfium/Library_pdfium.mk
+@@ -635,8 +635,21 @@
+     UnpackedTarball/pdfium/third_party/freetype/src/src/type1/type1 \
+     UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftdebug \
+     UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftfstype \
++))
++
++ifeq ($(OS),FREEBSD)
++ifeq ($(SYSTEM_OPENJPEG2),TRUE)
++$(eval $(call gb_Library_add_libs,pdfium,\
++    $(OPENJPEG2_LIBS) \
+ ))
+ endif
++ifeq ($(SYSTEM_ABSEIL),TRUE)
++$(eval $(call gb_Library_add_libs,pdfium,\
++    $(ABSEIL_LIBS) \
++))
++endif
++endif
++endif
+ 
+ ifneq ($(OS),WNT)
+ $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d3f3a9.215cd.3f80835f>