From d0e60adee017d06c0983bb9042ad8ec637778244 Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 20 2020 10:32:35 +0000 Subject: Apply patch gpgme-1.3.2-largefile.patch patch_name: gpgme-1.3.2-largefile.patch location_in_specfile: 3 present_in_specfile: true --- diff --git a/src/gpgme-config.in b/src/gpgme-config.in index 6a854e4..89a4b41 100644 --- a/src/gpgme-config.in +++ b/src/gpgme-config.in @@ -45,6 +45,10 @@ libs_glib="@GLIB_LIBS@" cflags_glib="@GLIB_CFLAGS@" with_glib= +if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then + cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@" +fi + output="" usage() @@ -108,6 +112,9 @@ while test $# -gt 0; do exit 0 ;; --cflags) + if test "x$cflags_lfs" != "x"; then + output="$output $cflags_lfs" + fi result= tmp_c= tmp_g=