hashcat: update to 4.1.0.

Closes: #11798 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-21 18:49:49 -03:00 committed by Michael Aldridge
parent 64d7d7d4bf
commit 108ef19114
2 changed files with 2 additions and 21 deletions

View File

@ -1,19 +0,0 @@
--- include/sort_r.h.orig
+++ include/sort_r.h
@@ -187,10 +187,15 @@
/* no qsort_r in glibc before 2.8, need to use nested qsort */
sort_r_simple(base, nel, width, compar, arg);
- #else
+ #elif defined __GLIBC__
qsort_r(base, nel, width, compar, arg);
+ #else
+
+ /* Fall back to our own quicksort implementation */
+ sort_r_simple(base, nel, width, compar, arg);
+
#endif
#elif defined _SORT_R_BSD

View File

@ -1,6 +1,6 @@
# Template file for 'hashcat'
pkgname=hashcat
version=4.0.1
version=4.1.0
revision=1
build_style=gnu-makefile
make_build_args="LFLAGS=$LDFLAGS PREFIX=/usr"
@ -10,7 +10,7 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://hashcat.net/hashcat/"
distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
checksum=8c25ace8791c641ebe32f66e4d9c29ff43bf484a6652f06bdba9df4e7ac7b5dd
checksum=bd23997153c5a8c8b35da3931ff74a808561399de3f3e07058ff4d2f8617119c
CFLAGS="-W -Wall -std=c99 -Iinclude/ -Iinclude/lzma_sdk/ -IOpenCL/"