From: Debian Security Tools <team+pkg-security@tracker.debian.org>
Date: Wed, 25 Jan 2023 10:42:39 +0100
Subject: Add missing C_FLAGS

Now upstream use pkg-config to search for libgpgme but they remove the
required CFLAGS
---
 util/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
index b25d3f7..ba106f1 100644
--- a/util/CMakeLists.txt
+++ b/util/CMakeLists.txt
@@ -38,6 +38,7 @@ pkg_check_modules (LIBXML2 REQUIRED libxml-2.0>=2.0)
 
 # for gpgmeutils we need libgpgme
 pkg_check_modules (GPGME REQUIRED gpgme>=1.7.0)
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1")
 
 # for serverutils we need libgcrypt
 pkg_check_modules (GCRYPT REQUIRED libgcrypt)
