From de8f28cc379075b8c5d77bf643e717fc719840af Mon Sep 17 00:00:00 2001
From: Duncan Bellamy <dunk@denkimushi.com>
Date: Sat, 3 Dec 2022 08:51:24 +0000
Subject: [PATCH 1/2] community/apache-arrow: build with apache-orc support

---
 community/apache-arrow/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/community/apache-arrow/APKBUILD b/community/apache-arrow/APKBUILD
index d35eb7e22797..baf7981e28ab 100644
--- a/community/apache-arrow/APKBUILD
+++ b/community/apache-arrow/APKBUILD
@@ -3,7 +3,7 @@
 # based on arch linux PKGBUILD
 pkgname=apache-arrow
 pkgver=10.0.1
-pkgrel=0
+pkgrel=1
 pkgdesc="multi-language toolbox for accelerated data interchange and in-memory processing"
 url="https://arrow.apache.org/"
 arch="all !s390x" # missing thrift
@@ -16,6 +16,7 @@ _py3depends="
 	python3-dev
 	"
 makedepends="
+	apache-orc-dev
 	boost-dev
 	brotli-dev
 	bzip2-dev
@@ -102,6 +103,7 @@ build() {
 		-DARROW_PYTHON=ON \
 		-DARROW_TENSORFLOW=ON \
 		-DARROW_USE_GLOG=ON \
+		-DARROW_ORC=ON \
 		-DARROW_WITH_BROTLI=ON \
 		-DARROW_WITH_BZ2=ON \
 		-DARROW_WITH_LZ4=ON \
-- 
GitLab


From 1f192706e1453cb69a8003fa79b6fb2141c37a9a Mon Sep 17 00:00:00 2001
From: Duncan Bellamy <dunk@denkimushi.com>
Date: Sat, 3 Dec 2022 08:48:45 +0000
Subject: [PATCH 2/2] community/apache-orc: upgrade to 1.8.1

* https://orc.apache.org/releases/
---
 community/apache-orc/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/community/apache-orc/APKBUILD b/community/apache-orc/APKBUILD
index b64e216c17d3..5de18b4c0281 100644
--- a/community/apache-orc/APKBUILD
+++ b/community/apache-orc/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Duncan Bellamy <dunk@denkimushi.com>
 # based on arch linux PKGBUILD
 pkgname=apache-orc
-pkgver=1.8.0
+pkgver=1.8.1
 pkgrel=0
 pkgdesc="the smallest, fastest columnar storage for Hadoop workloads"
 url="https://orc.apache.org/"
@@ -45,7 +45,7 @@ build() {
 		-DBUILD_POSITION_INDEPENDENT_LIB=ON \
 		-DSTOP_BUILD_ON_WARNING=OFF \
 		-DBUILD_CPP_TESTS=OFF \
-		$CMAKE_CROSSOPTS .
+		$CMAKE_CROSSOPTS
 	cmake --build build
 }
 
@@ -54,5 +54,5 @@ package() {
 }
 
 sha512sums="
-1da2767df661a6161976922bac120d5163bb8e563d236f745f26105ca4c4f582b645e919d9c3c1cdc0b4d98e0f812074bc1b1859555ecbf04271e388e2769f95  orc-1.8.0.tar.gz
+0bb7841a9734f6074e3ddbd2570a99a0b6339a980157f22abaf20ff8da213701a75486c9d1d7f931cedd63e689a7418bd4eb263c4755fda78e9d1100893115c1  orc-1.8.1.tar.gz
 "
-- 
GitLab