From 539f70d15bf11174cea49f09e35ac4d354c84cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 12 Aug 2025 09:38:04 +0700 Subject: [PATCH] balsa: balsa: unset check builddir --- srcpkgs/balsa/patches/path.patch | 13 +++++++++++++ srcpkgs/balsa/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/balsa/patches/path.patch diff --git a/srcpkgs/balsa/patches/path.patch b/srcpkgs/balsa/patches/path.patch new file mode 100644 index 00000000000..75117e66c12 --- /dev/null +++ b/srcpkgs/balsa/patches/path.patch @@ -0,0 +1,13 @@ +--- a/libbalsa/html.c ++++ b/libbalsa/html.c +@@ -51,7 +51,9 @@ + * not exist. Thus, this variable should be set for testing/development, + * and unset for release builds to avoid leaking the build folder name. + */ +-#define WEB_EXT_CHECK_BUILDDIR 1 ++#ifdef WEB_EXT_CHECK_BUILDDIR ++#undef WEB_EXT_CHECK_BUILDDIR ++#endif + + + #define CID_REGEX "<[^>]*src\\s*=\\s*['\"]?\\s*cid:" diff --git a/srcpkgs/balsa/template b/srcpkgs/balsa/template index dca7c22444a..d327726f9ed 100644 --- a/srcpkgs/balsa/template +++ b/srcpkgs/balsa/template @@ -1,7 +1,7 @@ # Template file for 'balsa' pkgname=balsa version=2.6.4 -revision=2 +revision=3 build_style=meson configure_args="-Dlibsecret=true -Dsqlite=true -Dhtml-widget=webkit2 -Dspell-checker=gspell"