ugrep: update to 5.1.3.

This commit is contained in:
Leah Neukirchen 2024-04-05 14:56:16 +02:00
parent 5aadefce61
commit 338b9f790d
2 changed files with 12 additions and 2 deletions

View File

@ -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 <sys/mman.h>
# include <sys/stat.h>
+# include <sys/types.h>
# include <limits>
# ifndef MAP_ANONYMOUS
# define MAP_ANONYMOUS MAP_ANON

View File

@ -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 <leah@vuxu.org>"
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