aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2023-09-13 04:15:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2023-09-13 08:26:17 +0000
commite659d4312c878830d9bb5c715ddd605a82ec365f (patch)
tree1aff64bb474e712c161a6384c7372200fa89af8f
parentecf0ad982244798d796d9addfb36c7c25a67865c (diff)
community/notmuch: upgrade to 0.38
-rw-r--r--community/notmuch/APKBUILD11
-rw-r--r--community/notmuch/test-musl-invalid-regexp.patch13
2 files changed, 20 insertions, 4 deletions
diff --git a/community/notmuch/APKBUILD b/community/notmuch/APKBUILD
index 2b25be93eb2..68d904f760f 100644
--- a/community/notmuch/APKBUILD
+++ b/community/notmuch/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=notmuch
-pkgver=0.37
-pkgrel=3
+pkgver=0.38
+pkgrel=0
pkgdesc="E-Mail index, search and tagging"
url="https://notmuchmail.org/"
arch="all"
@@ -38,7 +38,9 @@ subpackages="
$pkgname-vim:vim:noarch
$pkgname-zsh-completion
$pkgname-bash-completion"
-source="https://notmuchmail.org/releases/notmuch-$pkgver.tar.xz"
+source="https://notmuchmail.org/releases/notmuch-$pkgver.tar.xz
+ test-musl-invalid-regexp.patch
+ "
prepare() {
default_prepare
@@ -127,5 +129,6 @@ py3() {
}
sha512sums="
-31cac1ff03b139b18a4fec5e29907ba0e3a965f0a7bf5f2f2b0f75980f9663173745be854e83943f344a09cdb7f5615fa48218e327c4ade7a55b3a22b2a9c45e notmuch-0.37.tar.xz
+be08d3623300ae2f7843d753ed5b18a85adeb215b4450e01a833d45f6a4148f8e8e72384a54719618b3cb07f1639c1d72384ccfbbc23cc5e317a1dc016d8db06 notmuch-0.38.tar.xz
+0defaeb6781694d55f2e11a5ede37214d261bab4eed328d523cfda80deb11085a1486aa13e180cebc3b24dddfa073d17f7b9e2891c176d60aafa62509a28d55c test-musl-invalid-regexp.patch
"
diff --git a/community/notmuch/test-musl-invalid-regexp.patch b/community/notmuch/test-musl-invalid-regexp.patch
new file mode 100644
index 00000000000..61d3a0c462f
--- /dev/null
+++ b/community/notmuch/test-musl-invalid-regexp.patch
@@ -0,0 +1,13 @@
+musl's regex implementation returns a different error message
+
+--- a/test/T760-as-text.sh
++++ b/test/T760-as-text.sh
+@@ -70,7 +70,7 @@
+ notmuch config set index.as_text '['
+ notmuch reindex '*' >& OUTPUT
+ cat<<EOF > EXPECTED
+-Error in index.as_text: Invalid regular expression: [
++Error in index.as_text: Missing ']': [
+ EOF
+ test_expect_equal_file EXPECTED OUTPUT
+