Blame SOURCES/gpgme-1.3.2-largefile.patch

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