diff --git a/srcpkgs/ugrep/patches/musl.patch b/srcpkgs/ugrep/patches/musl.patch new file mode 100644 index 00000000000..df8cad31469 --- /dev/null +++ b/srcpkgs/ugrep/patches/musl.patch @@ -0,0 +1,10 @@ +--- a/src/mmap.hpp ++++ b/src/mmap.hpp +@@ -50,6 +50,7 @@ + #if defined(HAVE_MMAP) && MAX_MMAP_SIZE > 0 + # include + # include ++# include + # include + # ifndef MAP_ANONYMOUS + # define MAP_ANONYMOUS MAP_ANON diff --git a/srcpkgs/ugrep/template b/srcpkgs/ugrep/template index 7dffd2fc293..512d6436108 100644 --- a/srcpkgs/ugrep/template +++ b/srcpkgs/ugrep/template @@ -1,6 +1,6 @@ # Template file for 'ugrep' pkgname=ugrep -version=5.1.1 +version=5.1.3 revision=1 build_style=gnu-configure makedepends="bzip2-devel liblz4-devel liblzma-devel libzstd-devel pcre2-devel @@ -10,7 +10,7 @@ maintainer="Leah Neukirchen " license="BSD-3-Clause" homepage="https://github.com/Genivia/ugrep" distfiles="https://github.com/Genivia/ugrep/archive/v${version}.tar.gz" -checksum=687fc43a02287bac18f973822036bb3c470a81825b8eb3d98a335603b249b13b +checksum=a349abb1a619e33dddbf105528bc5ba5f8d97b4f7b2c69b85d432853df3a9aee post_install() { vlicense LICENSE.txt LICENSE