From 7d85967b3b03e109ff0bb6142e72b128f98b2a2e Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 11 2020 23:07:48 +0000 Subject: Apply patch gpgme-1.3.2-largefile.patch patch_name: gpgme-1.3.2-largefile.patch present_in_specfile: true location_in_specfile: 2 --- diff --git a/src/gpgme-config.in b/src/gpgme-config.in index b2a3500..7794923 100644 --- a/src/gpgme-config.in +++ b/src/gpgme-config.in @@ -48,6 +48,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() @@ -111,6 +115,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=