Subject: [PATCH] main/libbsd: upgrade to 0.11.5

From: Drew DeVault <[email-masked]>
Date: Tue, 25 Jan 2022 08:02:03 +0100

---
 ...001-test-drop-fpurge-proctitle-tests.patch | 28 -------------------
 main/libbsd/0001-test-drop-fpurge.patch       | 24 ++++++++++++++++
 main/libbsd/APKBUILD                          |  8 +++---
 3 files changed, 28 insertions(+), 32 deletions(-)
 delete mode 100644 main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch
 create mode 100644 main/libbsd/0001-test-drop-fpurge.patch

diff --git a/main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch b/main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch
deleted file mode 100644
index 9ffb07c72f..0000000000
--- a/main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From e1b61176c0f20afbf8700a646f889fe49e347712 Mon Sep 17 00:00:00 2001
-From: Drew DeVault <[email-masked]>
-Date: Mon, 24 Jan 2022 14:41:02 +0100
-Subject: [PATCH] test: drop fpurge, proctitle tests
-
-See https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/9
----
- test/Makefile.am | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/test/Makefile.am b/test/Makefile.am
-index 33d8aea..8c5f933 100644
---- a/test/Makefile.am
-+++ b/test/Makefile.am
-@@ -38,10 +38,8 @@ check_PROGRAMS = \
- 	fgetln \
- 	funopen \
- 	fparseln \
--	fpurge \
- 	md5 \
- 	nlist \
--	proctitle \
- 	proctitle-init \
- 	progname \
- 	pwcache \
--- 
-2.34.1
-
diff --git a/main/libbsd/0001-test-drop-fpurge.patch b/main/libbsd/0001-test-drop-fpurge.patch
new file mode 100644
index 0000000000..f24870dd84
--- /dev/null
+++ b/main/libbsd/0001-test-drop-fpurge.patch
@@ -0,0 +1,24 @@
+From 2626e9be3a794b5f9ebb8cc45bcf388dcf96ff10 Mon Sep 17 00:00:00 2001
+From: Drew DeVault <[email-masked]>
+Date: Tue, 25 Jan 2022 07:57:56 +0100
+Subject: [PATCH] test: drop fpurge
+
+---
+ test/Makefile.am | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/test/Makefile.am b/test/Makefile.am
+index 5ef4f29..8c5f933 100644
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -38,7 +38,6 @@ check_PROGRAMS = \
+ 	fgetln \
+ 	funopen \
+ 	fparseln \
+-	fpurge \
+ 	md5 \
+ 	nlist \
+ 	proctitle-init \
+-- 
+2.34.1
+
diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD
index 9ab8d8f177..34c6cc569f 100644
--- a/main/libbsd/APKBUILD
+++ b/main/libbsd/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Sören Tempel <[email-masked]>
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=libbsd
-pkgver=0.11.4
+pkgver=0.11.5
 pkgrel=0
 pkgdesc="commonly-used BSD functions not implemented by all libcs"
 url="https://libbsd.freedesktop.org/"
@@ -13,7 +13,7 @@ makedepends_build="autoconf automake libtool"
 makedepends_host="$depends_dev"
 subpackages="$pkgname-dev $pkgname-doc"
 source="https://libbsd.freedesktop.org/releases/libbsd-$pkgver.tar.xz
-	0001-test-drop-fpurge-proctitle-tests.patch"
+	0001-test-drop-fpurge.patch"
 
 # secfixes:
 #   0.10.0-r0:
@@ -46,6 +46,6 @@ package() {
 }
 
 sha512sums="
-59b903389529ff69e8c4644483cc991ae1e574384ef8ea37b4552766cb72fdc254b1e64edf6d4594c98b520cd9fef8543fe002b2fe04da7a25750809d040b995  libbsd-0.11.4.tar.xz
-913e4401aefffc3eb63516ae384bc2e8d72a02648b0e9c5bab22a1e497596bdb9dfbf469dfe78d3bb691172e5cd237e15e540a3ffab0b57b48fab17ed320debd  0001-test-drop-fpurge-proctitle-tests.patch
+c52c19eddd53630aca14f9f6221f7b84aa9cc798b4bb91e867822b161793313aab872ac1c0350d29312a72fee6e2061f3910ff918b724ec171d8c9de5837c841  libbsd-0.11.5.tar.xz
+b90b997a0d6ac793d7652224c24e22ca9569dd3a1e0c970b38370be1bdf55bef6cf00959f35e382566500bfa0c925741084522f79d70ff98d078f9247f6fb3bc  0001-test-drop-fpurge.patch
 "
-- 
2.34.1