ecc743
diff -up gpgme-1.3.2/src/gpgme-config.in.largefile gpgme-1.3.2/src/gpgme-config.in
ecc743
--- gpgme-1.3.2/src/gpgme-config.in.largefile	2012-09-26 10:10:37.882744198 +0200
ecc743
+++ gpgme-1.3.2/src/gpgme-config.in	2012-09-26 10:16:02.558762827 +0200
ecc743
@@ -41,6 +41,10 @@ cflags_pthread=""
ecc743
 cflags_glib="@GLIB_CFLAGS@"
ecc743
 with_glib=
ecc743
 
ecc743
+if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then
ecc743
+    cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
ecc743
+fi
ecc743
+
ecc743
 output=""
ecc743
 
ecc743
 usage()
ecc743
@@ -105,6 +109,9 @@ while test $# -gt 0; do
ecc743
 	    exit 0
ecc743
 	    ;;
ecc743
         --cflags)
ecc743
+	    if test "x$cflags_lfs" != "x"; then
ecc743
+		output="$output $cflags_lfs"
ecc743
+	    fi
ecc743
             result=
ecc743
             tmp_c=
ecc743
             tmp_g=