1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
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
Last-Update: 2025-08-13
---
util/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
index 18ed4f8..ad8c6db 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)
|