mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
no-more-secrets: update to 1.0.1.
This commit is contained in:
parent
9c2eeb29ad
commit
ea4f7b84ca
2 changed files with 17 additions and 2 deletions
15
srcpkgs/no-more-secrets/patches/fix-musl.patch
Normal file
15
srcpkgs/no-more-secrets/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- a/src/nmstermio.c
|
||||
+++ b/src/nmstermio.c
|
||||
@@ -296,7 +296,11 @@
|
||||
static int state = 1;
|
||||
|
||||
if (!isatty(STDIN_FILENO)) {
|
||||
+#ifdef __GLIBC__
|
||||
stdin = freopen("/dev/tty", "r", stdin);
|
||||
+#else
|
||||
+ freopen("/dev/tty", "r", stdin);
|
||||
+#endif
|
||||
}
|
||||
|
||||
if (s == 0) {
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'no-more-secrets'
|
||||
pkgname=no-more-secrets
|
||||
version=0.3.3
|
||||
version=1.0.1
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_target="all"
|
||||
|
@ -9,7 +9,7 @@ maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
|||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/bartobri/no-more-secrets"
|
||||
distfiles="https://github.com/bartobri/no-more-secrets/archive/v${version}.tar.gz"
|
||||
checksum=cfcf408768c6b335780e46a84fbc121a649c4b87e0564fc972270e96630efdce
|
||||
checksum=4422e59bb3cf62bca3c73d1fdae771b83aab686cd044f73fe14b1b9c2af1cb1b
|
||||
|
||||
do_install() {
|
||||
for f in nms sneakers; do
|
||||
|
|
Loading…
Add table
Reference in a new issue