Blame SOURCES/gpgme-1.3.2-largefile.patch

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