nwipe: update to 0.30.
This commit is contained in:
parent
6283b0d209
commit
d8e6b7927b
3 changed files with 30 additions and 19 deletions
27
srcpkgs/nwipe/patches/0001-musl-build-fix.patch
Normal file
27
srcpkgs/nwipe/patches/0001-musl-build-fix.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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
|
||||||
|
--- src/nwipe.c
|
||||||
|
+++ 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
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
diff --git src/nwipe.c src/nwipe.c
|
|
||||||
index c7586fd..ec2eb1d 100644
|
|
||||||
--- src/nwipe.c
|
|
||||||
+++ src/nwipe.c
|
|
||||||
@@ -26,9 +26,10 @@
|
|
||||||
#include <time.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <pthread.h>
|
|
||||||
+#if defined(__GLIBC__)
|
|
||||||
#include <bits/pthreadtypes.h>
|
|
||||||
#include <bits/sigthread.h>
|
|
||||||
-
|
|
||||||
+#endif
|
|
||||||
#include "nwipe.h"
|
|
||||||
#include "context.h"
|
|
||||||
#include "method.h"
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nwipe'
|
# Template file for 'nwipe'
|
||||||
pkgname=nwipe
|
pkgname=nwipe
|
||||||
version=0.28
|
version=0.30
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config"
|
||||||
|
@ -10,10 +10,10 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://github.com/martijnvanbrummelen/nwipe"
|
homepage="https://github.com/martijnvanbrummelen/nwipe"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=4f1ccf952cd3cdb00c8ccbfe4c47f94eaecf20a98248aaf83a0c1b2198e2ce13
|
checksum=85faaa9c65557a6be187f0176c5b778e8cd080e1cd9b8a7168a8a9b8e410d46d
|
||||||
|
|
||||||
CFLAGS="-D_FILE_OFFSET_BITS=64"
|
CFLAGS="-D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sh init.sh
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue