diff --git a/srcpkgs/afl++/patches/mode_t.patch b/srcpkgs/afl++/patches/mode_t.patch new file mode 100644 index 00000000000..f7cd2776c14 --- /dev/null +++ b/srcpkgs/afl++/patches/mode_t.patch @@ -0,0 +1,21 @@ +--- a/include/common.h ++++ b/include/common.h +@@ -27,6 +27,7 @@ + #ifndef __AFLCOMMON_H + #define __AFLCOMMON_H + ++#include + #include + #include + #include +--- a/include/types.h ++++ b/include/types.h +@@ -25,6 +25,8 @@ + + #include + #include ++#include ++#include + #include "config.h" + + typedef uint8_t u8; diff --git a/srcpkgs/afl++/template b/srcpkgs/afl++/template index 006660b9ae9..1ce6cf68904 100644 --- a/srcpkgs/afl++/template +++ b/srcpkgs/afl++/template @@ -1,18 +1,18 @@ # Template file for 'afl++' pkgname=afl++ -version=4.30c +version=4.33c revision=1 archs="i686* x86_64* aarch64*" build_helper="qemu" build_style=gnu-makefile hostmakedepends="which" -makedepends="gmp-devel lld18 llvm18-devel python3-devel" +makedepends="gmp-devel lld18 llvm18-devel python3-devel zlib-devel" short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer" maintainer="Leah Neukirchen " license="Apache-2.0" homepage="https://aflplus.plus/" distfiles="https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v${version}.tar.gz" -checksum=7c08c81f59b6c1f0bc2428fdee9fb880520e72c50be0683072e66bcde662b480 +checksum=98903c8036282c8908b1d8cc0d60caf3ea259db4339503a76449b47acce58d1d conflicts="afl>=0" replaces="afl>=0" @@ -20,6 +20,9 @@ nostrip_files="small_archive.a small_exec.elf" if [ "$CROSS_BUILD" ]; then export LLVM_CONFIG=${XBPS_CROSS_BASE}/usr/bin/llvm-config + export PYTHON_INCLUDE="-I${py3_inc}" + export PYTHON_LIB="-lpython${py3_ver} -ldl -lm" + export PYTHON_VERSION="Python ${py3_ver}" else export LLVM_CONFIG=llvm-config fi