diff --git a/extra/libreoffice-fresh/PKGBUILD b/extra/libreoffice-fresh/PKGBUILD index 4607e5374..b37d50ad0 100644 --- a/extra/libreoffice-fresh/PKGBUILD +++ b/extra/libreoffice-fresh/PKGBUILD @@ -5,6 +5,7 @@ # - disable firebird until libfbclient is updated # - specify a US mirror # - remove --enable-lto +# - add -D_FILE_OFFSET_BITS=64 to CPPFLAGS for v7 highmem=1 @@ -158,6 +159,7 @@ prepare() { export ARCH_FLAGS export CFLAGS="$ARCH_FLAGS" export CXXFLAGS="$ARCH_FLAGS" + export CPPFLAGS+=" -D_FILE_OFFSET_BITS=64" } build() {