nwipe: update to 0.31.

Also:
- add changelog
- remove musl patch (fix from @ndowens has been
accepted upstream).
This commit is contained in:
mobinmob 2021-10-01 21:31:43 +03:00 committed by Érico Nogueira Rolim
parent a529efb073
commit e4d3f85b0e
2 changed files with 3 additions and 29 deletions

View file

@ -1,27 +0,0 @@
From 8871bf692e3b5012fdb0ea069b81c6a8db8ef85f Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
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 <signal.h>
#include <pthread.h>
#include <sys/types.h>
+#if defined(__GLIBC__)
#include <bits/sigthread.h>
+#endif
#include "nwipe.h"
#include "context.h"
--
2.29.2

View file

@ -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 <orphan@voidlinux.org>"
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"