From 683008fba403e8184d9df2f65679da6725fff2d8 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Fri, 1 Oct 2021 21:31:43 +0300 Subject: [PATCH] nwipe: update to 0.31. Also: - add changelog - remove musl patch (fix from @ndowens has been accepted upstream). --- .../nwipe/patches/0001-musl-build-fix.patch | 27 ------------------- srcpkgs/nwipe/template | 5 ++-- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/nwipe/patches/0001-musl-build-fix.patch diff --git a/srcpkgs/nwipe/patches/0001-musl-build-fix.patch b/srcpkgs/nwipe/patches/0001-musl-build-fix.patch deleted file mode 100644 index 90e12ea50ea7..000000000000 --- a/srcpkgs/nwipe/patches/0001-musl-build-fix.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 8871bf692e3b5012fdb0ea069b81c6a8db8ef85f Mon Sep 17 00:00:00 2001 -From: Nathan Owens -Date: Mon, 21 Dec 2020 12:05:43 -0600 -Subject: [PATCH] musl build fix - -musl does not have bits/sigthread.h ---- - src/nwipe.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git src/nwipe.c src/nwipe.c -index 2c9c851..487177e 100644 ---- a/src/nwipe.c -+++ b/src/nwipe.c -@@ -32,7 +32,9 @@ - #include - #include - #include -+#if defined(__GLIBC__) - #include -+#endif - - #include "nwipe.h" - #include "context.h" --- -2.29.2 - diff --git a/srcpkgs/nwipe/template b/srcpkgs/nwipe/template index e3cbc2b3b653..625a45163910 100644 --- a/srcpkgs/nwipe/template +++ b/srcpkgs/nwipe/template @@ -1,6 +1,6 @@ # Template file for 'nwipe' pkgname=nwipe -version=0.30 +version=0.31 revision=1 build_style=gnu-configure hostmakedepends="automake pkg-config" @@ -9,8 +9,9 @@ short_desc="Utility to securely erase disks" maintainer="Orphaned " license="GPL-2.0-only" homepage="https://github.com/martijnvanbrummelen/nwipe" +changelog="https://raw.githubusercontent.com/martijnvanbrummelen/nwipe/master/CHANGELOG.md" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=85faaa9c65557a6be187f0176c5b778e8cd080e1cd9b8a7168a8a9b8e410d46d +checksum=de12644aa475e993db8ee70355f17937eccbe4daef35c9aa2b0cfe30f07020aa CFLAGS="-D_FILE_OFFSET_BITS=64"