nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 24 lines 663 B view raw
1diff --git a/Makefile b/Makefile 2index eca86a9..f11931b 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -1,5 +1,5 @@ 6 # Common variables 7-CFLAGS = -g -static -O2 -D_GNU_SOURCE -DARCH_LITTLE_ENDIAN=1 8+CFLAGS = -g -O2 -D_GNU_SOURCE -DARCH_LITTLE_ENDIAN=1 9 TARGET = rar2hashcat 10 11 # Variables for Linux target 12diff --git a/base64_convert.c b/base64_convert.c 13index 0d2635d..b101e3c 100644 14--- a/base64_convert.c 15+++ b/base64_convert.c 16@@ -163,7 +163,7 @@ static char *strnzcpy(char *dst, const char *src, int size) 17 return dst; 18 } 19 20-#ifdef __linux__ 21+#if defined(__linux__) || defined(__APPLE__) 22 static char *strupr(char *s) 23 { 24 unsigned char *ptr = (unsigned char *)s;