no-more-secrets: update to 1.0.1.

This commit is contained in:
icp 2022-09-06 19:35:43 +05:30 committed by classabbyamp
parent 9c2eeb29ad
commit ea4f7b84ca
2 changed files with 17 additions and 2 deletions

View 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) {

View file

@ -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