git: 099ec64e6a26 - main - devel/apache-orc: fix build on powerpc64*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 31 Dec 2024 14:00:37 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=099ec64e6a26280579e58ab816631342f76d8f32

commit 099ec64e6a26280579e58ab816631342f76d8f32
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-26 13:45:04 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-31 13:59:42 +0000

    devel/apache-orc: fix build on powerpc64*
    
    /wrkdirs/usr/ports/devel/apache-orc/work/orc-2.0.3/c++/src/CpuInfoUtil.cc:488:52: error: unused parameter 'simd_level' [-Werror,-Wunused-parameter]
      488 |     bool ArchParseUserSimdLevel(const std::string& simd_level, int64_t* hardware_flags) {
          |                                                    ^
---
 devel/apache-orc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/apache-orc/Makefile b/devel/apache-orc/Makefile
index 377cb88afd14..08401c97455f 100644
--- a/devel/apache-orc/Makefile
+++ b/devel/apache-orc/Makefile
@@ -30,7 +30,7 @@ CMAKE_ARGS+=	-DBUILD_JAVA=OFF \
 		-DGTEST_HOME=${LOCALBASE} \
 		-DPROTOBUF_HOME=${LOCALBASE} \
 		-DZSTD_HOME=${LOCALBASE}
-CFLAGS+=	-fPIC
+CFLAGS+=	-fPIC -Wno-error=unused-parameter
 CPPFLAGS+=	-fPIC
 
 post-patch: