git: 4fab9b803dde - main - textproc/sigil: Add patch to workaround crash on close

Piotr Smyrak <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by smyru:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fab9b803ddecd3990dcc6fe674f60512d452f3c

commit 4fab9b803ddecd3990dcc6fe674f60512d452f3c
Author:     Piotr Smyrak <[email protected]>
AuthorDate: 2026-07-31 22:35:11 +0000
Commit:     Piotr Smyrak <[email protected]>
CommitDate: 2026-07-31 22:35:11 +0000

    textproc/sigil: Add patch to workaround crash on close
    
    Add a patch to workaround for issue:
    https://github.com/Sigil-Ebook/Sigil/issues/874
    
    Bump port revision.
    
    PR:             296967
    Reported-by:    Jonathan Chen <[email protected]> (maintainer)
---
 textproc/sigil/Makefile             |  1 +
 textproc/sigil/files/patch-sigil-sh | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index dd9332f4acaf..ff7942080170 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sigil
 DISTVERSION=	2.8.1
+PORTREVISION=	1
 CATEGORIES=	textproc
 
 MAINTAINER=	[email protected]
diff --git a/textproc/sigil/files/patch-sigil-sh b/textproc/sigil/files/patch-sigil-sh
new file mode 100644
index 000000000000..dcdaf0c0617f
--- /dev/null
+++ b/textproc/sigil/files/patch-sigil-sh
@@ -0,0 +1,16 @@
+
+Add workaround for:
+   https://github.com/Sigil-Ebook/Sigil/issues/874
+
+--- src/Resource_Files/bash/sigil-sh_install.orig	2026-07-22 07:53:34.831031000 +1200
++++ src/Resource_Files/bash/sigil-sh_install	2026-07-22 07:54:41.043039000 +1200
+@@ -24,6 +24,9 @@
+ #  export SIGIL_EXTRA_ROOT
+ #fi
+ 
++# Workaround for crash-on-close
++export QT_QUICK_BACKEND=software
++
+ export LD_LIBRARY_PATH
+ 
+ exec ${CMAKE_INSTALL_FULL_LIBDIR}/sigil/sigil "$@"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.