Skip to content
Snippets Groups Projects
Unverified Commit 2289f421 authored by Ashish SHUKLA's avatar Ashish SHUKLA
Browse files

textproc/ugrep: add a workaround for building on aarch64 platform

PR:		276577
Reported by:	void at f-m dot fm
parent 2a68ac75
No related branches found
No related tags found
No related merge requests found
PORTNAME= ugrep
DISTVERSIONPREFIX= v
DISTVERSION= 4.5.2
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= ashish@FreeBSD.org
......
--- lzma/C/CpuArch.c.orig 2024-01-24 11:26:34 UTC
+++ lzma/C/CpuArch.c
@@ -762,10 +762,11 @@ BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYP
#include <sys/auxv.h>
+#ifdef __linux__
#define USE_HWCAP
+#endif
#ifdef USE_HWCAP
-
#include <asm/hwcap.h>
#define MY_HWCAP_CHECK_FUNC_2(name1, name2) \
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment