From 53c9eb6683f56db3ee260fc6c2e24ccf56316683 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Fri, 15 Mar 2024 17:32:15 -0400 Subject: [PATCH] capnproto: largefile source --- srcpkgs/capnproto/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/capnproto/template b/srcpkgs/capnproto/template index 77652040538..7582c506797 100644 --- a/srcpkgs/capnproto/template +++ b/srcpkgs/capnproto/template @@ -1,7 +1,7 @@ # Template file for 'capnproto' pkgname=capnproto version=0.10.2 -revision=1 +revision=2 build_style=gnu-configure short_desc="Cap'n Proto serialization/RPC system" maintainer="eater " @@ -10,6 +10,8 @@ homepage="https://capnproto.org" distfiles="https://capnproto.org/capnproto-c++-${version}.tar.gz" checksum=7cd91a244cb330cda5b41f4904f94b61f39ba112835b31fa8c3764cedbed819f +CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" capnproto-devel" configure_args+=" --with-external-capnp"