Subject: [PATCH] testing/fdm: upgrade to fdm-2.2

From: Carlo Dé <[email-masked]>
Date: Sat, 4 Mar 2023 14:24:23 +0100

Use pcre2 to handle the REG_STARTEND constant.
---
 testing/fdm/APKBUILD | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/testing/fdm/APKBUILD b/testing/fdm/APKBUILD
index 067fef3ac53..67acb0a2e59 100644
--- a/testing/fdm/APKBUILD
+++ b/testing/fdm/APKBUILD
@@ -1,13 +1,13 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname="fdm"
-pkgver=2.1
-pkgrel=1
+pkgver=2.2
+pkgrel=0
 pkgdesc="A simple lightweight tool of fetching, filtering and delivering emails"
 url="https://github.com/nicm/fdm"
 arch="all"
 license="ISC"
 depends=""
-makedepends="tdb-dev openssl-dev>3 zlib-dev bsd-compat-headers pcre-dev
+makedepends="tdb-dev openssl-dev>3 zlib-dev bsd-compat-headers pcre2-dev
 	automake autoconf libtool"
 subpackages="$pkgname-doc"
 source="https://github.com/nicm/fdm/releases/download/$pkgver/fdm-$pkgver.tar.gz"
@@ -26,7 +26,7 @@ build() {
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--localstatedir=/var \
-		--enable-pcre
+		--enable-pcre2
 	make
 }
 
@@ -39,5 +39,5 @@ package() {
 }
 
 sha512sums="
-6a864048e1f25eedbb6af86451b258678b91e3c225b3b065a1aeb043f125405dfa109a0fbd77363394e14050053c7d81093d5b9d6a2dd155fb00dc98455028b4  fdm-2.1.tar.gz
+13efa0f272c5f6146b90e094602e8a9b52016af79ae0b6cd80dc9f36b2ba37f64cadae7313bd8db90bcb007dd07206a3614987f11bb82c3535e04f0511c9fc6d  fdm-2.2.tar.gz
 "
-- 
2.38.4