From 108ef191148cb1e6ce89df5aa7f90a5fc68321a7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 21 Feb 2018 18:49:49 -0300 Subject: [PATCH] hashcat: update to 4.1.0. Closes: #11798 [via git-merge-pr] --- srcpkgs/hashcat/patches/musl.patch | 19 ------------------- srcpkgs/hashcat/template | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/hashcat/patches/musl.patch diff --git a/srcpkgs/hashcat/patches/musl.patch b/srcpkgs/hashcat/patches/musl.patch deleted file mode 100644 index 6d65d322d7b..00000000000 --- a/srcpkgs/hashcat/patches/musl.patch +++ /dev/null @@ -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 diff --git a/srcpkgs/hashcat/template b/srcpkgs/hashcat/template index aa61b4c66be..b16e4a4228c 100644 --- a/srcpkgs/hashcat/template +++ b/srcpkgs/hashcat/template @@ -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 " 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/"