From 3602cee3a839c66e69502f898df8a4f2e70e6f7f Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Fri, 12 Apr 2024 14:20:05 +0200
Subject: [PATCH] ugrep: update to 5.1.4.

---
 srcpkgs/ugrep/patches/musl.patch | 10 ----------
 srcpkgs/ugrep/template           |  4 ++--
 2 files changed, 2 insertions(+), 12 deletions(-)
 delete mode 100644 srcpkgs/ugrep/patches/musl.patch

diff --git a/srcpkgs/ugrep/patches/musl.patch b/srcpkgs/ugrep/patches/musl.patch
deleted file mode 100644
index df8cad31469..00000000000
--- a/srcpkgs/ugrep/patches/musl.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
diff --git a/srcpkgs/ugrep/template b/srcpkgs/ugrep/template
index 52649a12998..82601f824c3 100644
--- a/srcpkgs/ugrep/template
+++ b/srcpkgs/ugrep/template
@@ -1,6 +1,6 @@
 # Template file for 'ugrep'
 pkgname=ugrep
-version=5.1.3
+version=5.1.4
 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=a349abb1a619e33dddbf105528bc5ba5f8d97b4f7b2c69b85d432853df3a9aee
+checksum=5b80b527c3c5b4cd8f0ec300d816ac0c1dea11c6de7774d69e9becebf492274d
 
 case "$XBPS_TARGET_MACHINE" in
 	armv*) configure_args+=" --disable-neon";;