Subject: [PATCH] main/libbsd: update to 0.10.0

From: Drew DeVault <[email-masked]>
Date: Fri, 9 Aug 2019 11:15:45 +0900

---
 main/libbsd/APKBUILD      | 16 ++++++----------
 main/libbsd/headers.patch | 10 ----------
 2 files changed, 6 insertions(+), 20 deletions(-)
 delete mode 100644 main/libbsd/headers.patch

diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD
index 4fa127bf28..32780b489b 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.9.1
+pkgver=0.10.0
 pkgrel=0
 pkgdesc="commonly-used BSD functions not implemented by all libcs"
 url="https://libbsd.freedesktop.org/"
@@ -13,11 +13,9 @@ makedepends_build="autoconf automake libtool"
 makedepends_host="$depends_dev"
 subpackages="$pkgname-dev $pkgname-doc"
 source="https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
-	disable-fpurge-test.patch
-	headers.patch
-	"
-
+	disable-fpurge-test.patch"
 builddir="$srcdir/$pkgname-$pkgver"
+
 prepare() {
 	default_prepare
 
@@ -44,10 +42,8 @@ check() {
 }
 
 package() {
-	make DESTDIR="$pkgdir" -C "$builddir" \
-		install
+	make DESTDIR="$pkgdir" -C "$builddir" install
 }
 
-sha512sums="435822b8f2495a5e2705e5ab5c834a4f0f3a177b3e5c46a7c6162924507ca984e957e94a512b5ebd0067ecb413bac458fade357709ef199e9b75edf0315de91c  libbsd-0.9.1.tar.xz
-34ab57a9b67c0d6035312dff78e6dd0d1c48442c6a1b6e769b6ebb6dccb0dac80ccc2c309724e39c097cdac944bdbd9522582f93f2567da8c6615990e2d0238b  disable-fpurge-test.patch
-594d598bc7f6d34bff080a26f8d726bf779d3827423f242ee7caa9a58fc89c89d80e0677c03e9c640e0074afbdc34636fa8ffa47a99fd9c576845e3039a7ccbd  headers.patch"
+sha512sums="b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9  libbsd-0.10.0.tar.xz
+34ab57a9b67c0d6035312dff78e6dd0d1c48442c6a1b6e769b6ebb6dccb0dac80ccc2c309724e39c097cdac944bdbd9522582f93f2567da8c6615990e2d0238b  disable-fpurge-test.patch"
diff --git a/main/libbsd/headers.patch b/main/libbsd/headers.patch
deleted file mode 100644
index 5b8f264253..0000000000
--- a/main/libbsd/headers.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- libbsd-0.9.1/src/flopen.c.old	2018-05-21 02:33:33.000000000 +0000
-+++ libbsd-0.9.1/src/flopen.c	2018-09-09 17:43:59.850000000 +0000
-@@ -32,6 +32,7 @@
- #include <sys/stat.h>
- 
- #include <errno.h>
-+#include <fcntl.h>
- #include <stdarg.h>
- #include <unistd.h>
- 
-- 
2.22.0