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

From: Drew DeVault <[email-masked]>
Date: Mon, 24 Jan 2022 14:42:07 +0100

---
 ...001-test-drop-fpurge-proctitle-tests.patch | 28 +++++++++++++++++++
 main/libbsd/APKBUILD                          | 12 ++++----
 main/libbsd/disable-fpurge-test.patch         | 11 --------
 3 files changed, 35 insertions(+), 16 deletions(-)
 create mode 100644 main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch
 delete mode 100644 main/libbsd/disable-fpurge-test.patch

diff --git a/main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch b/main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch
new file mode 100644
index 0000000000..9ffb07c72f
--- /dev/null
+++ b/main/libbsd/0001-test-drop-fpurge-proctitle-tests.patch
@@ -0,0 +1,28 @@
+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/APKBUILD b/main/libbsd/APKBUILD
index e4462a3a39..9ab8d8f177 100644
--- a/main/libbsd/APKBUILD
+++ b/main/libbsd/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Sören Tempel <[email-masked]>
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=libbsd
-pkgver=0.11.3
-pkgrel=1
+pkgver=0.11.4
+pkgrel=0
 pkgdesc="commonly-used BSD functions not implemented by all libcs"
 url="https://libbsd.freedesktop.org/"
 arch="all"
@@ -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
-	disable-fpurge-test.patch"
+	0001-test-drop-fpurge-proctitle-tests.patch"
 
 # secfixes:
 #   0.10.0-r0:
@@ -45,5 +45,7 @@ package() {
 	make DESTDIR="$pkgdir" install
 }
 
-sha512sums="a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5  libbsd-0.11.3.tar.xz
-9bfd1a7b7a3fdae115c9a9719e882237aa56eecc2d19b4a5da02494f8447a4ed26414fc4f52dcaa406fdee602986eed50674c37b2415b8f50493d18be016b9a8  disable-fpurge-test.patch"
+sha512sums="
+59b903389529ff69e8c4644483cc991ae1e574384ef8ea37b4552766cb72fdc254b1e64edf6d4594c98b520cd9fef8543fe002b2fe04da7a25750809d040b995  libbsd-0.11.4.tar.xz
+913e4401aefffc3eb63516ae384bc2e8d72a02648b0e9c5bab22a1e497596bdb9dfbf469dfe78d3bb691172e5cd237e15e540a3ffab0b57b48fab17ed320debd  0001-test-drop-fpurge-proctitle-tests.patch
+"
diff --git a/main/libbsd/disable-fpurge-test.patch b/main/libbsd/disable-fpurge-test.patch
deleted file mode 100644
index abc4759524..0000000000
--- a/main/libbsd/disable-fpurge-test.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-undefined behaviour
---- 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