mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
parent
64d7d7d4bf
commit
108ef19114
2 changed files with 2 additions and 21 deletions
|
@ -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
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'hashcat'
|
# Template file for 'hashcat'
|
||||||
pkgname=hashcat
|
pkgname=hashcat
|
||||||
version=4.0.1
|
version=4.1.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="LFLAGS=$LDFLAGS PREFIX=/usr"
|
make_build_args="LFLAGS=$LDFLAGS PREFIX=/usr"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://hashcat.net/hashcat/"
|
homepage="https://hashcat.net/hashcat/"
|
||||||
distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
|
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/"
|
CFLAGS="-W -Wall -std=c99 -Iinclude/ -Iinclude/lzma_sdk/ -IOpenCL/"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue