diff options
| author | Ashish SHUKLA <ashish@FreeBSD.org> | 2026-07-30 15:39:29 +0000 |
|---|---|---|
| committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2026-07-30 16:09:35 +0000 |
| commit | c8ddc1d778a065a132506cff02c94e5803509a8b (patch) | |
| tree | 6c93c25b95cb3846e7f3048dd395d143eb9f89eb | |
| parent | 2f63ab93fb962f7807ccbd025a7eed1f10480c89 (diff) | |
textproc/ugrep: Update to 7.8.3
- Purge inapplicable patch
| -rw-r--r-- | textproc/ugrep/Makefile | 2 | ||||
| -rw-r--r-- | textproc/ugrep/distinfo | 6 | ||||
| -rw-r--r-- | textproc/ugrep/files/patch-lzma_C_CpuArch.c | 42 |
3 files changed, 4 insertions, 46 deletions
diff --git a/textproc/ugrep/Makefile b/textproc/ugrep/Makefile index 7faf3eb4b615..239044236064 100644 --- a/textproc/ugrep/Makefile +++ b/textproc/ugrep/Makefile @@ -1,6 +1,6 @@ PORTNAME= ugrep DISTVERSIONPREFIX= v -DISTVERSION= 7.8.2 +DISTVERSION= 7.8.3 CATEGORIES= textproc MAINTAINER= ashish@FreeBSD.org diff --git a/textproc/ugrep/distinfo b/textproc/ugrep/distinfo index 3023f0559344..f5847c42f67e 100644 --- a/textproc/ugrep/distinfo +++ b/textproc/ugrep/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1779126531 -SHA256 (Genivia-ugrep-v7.8.2_GH0.tar.gz) = f991cc6c61dbc5af5a3b3939083e917df4113509549670fb400d121f639f69f6 -SIZE (Genivia-ugrep-v7.8.2_GH0.tar.gz) = 7213755 +TIMESTAMP = 1785425944 +SHA256 (Genivia-ugrep-v7.8.3_GH0.tar.gz) = 0bdda243e7dcb3231943a7b72b3e73cfad95be56c297d049c6037ef14ae03d7e +SIZE (Genivia-ugrep-v7.8.3_GH0.tar.gz) = 7220051 diff --git a/textproc/ugrep/files/patch-lzma_C_CpuArch.c b/textproc/ugrep/files/patch-lzma_C_CpuArch.c deleted file mode 100644 index bad85faa10c3..000000000000 --- a/textproc/ugrep/files/patch-lzma_C_CpuArch.c +++ /dev/null @@ -1,42 +0,0 @@ ---- lzma/C/CpuArch.c.orig 2024-01-25 12:25:30 UTC -+++ lzma/C/CpuArch.c -@@ -762,6 +762,31 @@ BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYP - - #include <sys/auxv.h> - -+#if defined(__FreeBSD__) -+static unsigned long get_hwcap(int aux) { -+ unsigned long hwcap; -+ if (elf_aux_info(aux, &hwcap, sizeof hwcap) != 0) { -+ return 0; -+ } -+ return hwcap; -+} -+ -+#ifdef MY_CPU_ARM64 -+BoolInt CPU_IsSupported_CRC32(void) { return get_hwcap(AT_HWCAP) & HWCAP_CRC32; } -+BoolInt CPU_IsSupported_NEON(void) { return 1; } -+BoolInt CPU_IsSupported_SHA1(void){ return get_hwcap(AT_HWCAP) & HWCAP_SHA1; } -+BoolInt CPU_IsSupported_SHA2(void) { return get_hwcap(AT_HWCAP) & HWCAP_SHA2; } -+BoolInt CPU_IsSupported_AES(void) { return get_hwcap(AT_HWCAP) & HWCAP_AES; } -+#else /* MY_CPU_ARM */ -+BoolInt CPU_IsSupported_CRC32(void) { return get_hwcap(AT_HWCAP2) & HWCAP2_CRC32; } -+BoolInt CPU_IsSupported_NEON(void) { return get_hwcap(AT_HWCAP) & HWCAP_NEON; } -+BoolInt CPU_IsSupported_SHA1(void){ return get_hwcap(AT_HWCAP2) & HWCAP2_SHA1; } -+BoolInt CPU_IsSupported_SHA2(void) { return get_hwcap(AT_HWCAP2) & HWCAP2_SHA2; } -+BoolInt CPU_IsSupported_AES(void) { return get_hwcap(AT_HWCAP2) & HWCAP2_AES; } -+#endif -+ -+#else // __FreeBSD__ -+ - #define USE_HWCAP - - #ifdef USE_HWCAP -@@ -795,6 +820,7 @@ MY_HWCAP_CHECK_FUNC (AES) - MY_HWCAP_CHECK_FUNC (SHA2) - MY_HWCAP_CHECK_FUNC (AES) - -+#endif // FreeBSD - #endif // __APPLE__ - #endif // _WIN32 - |
