]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - gpgme/patches/gpgme-1.2.0-largefile.patch
Merge remote-tracking branch 'ms/kernel-3.2'
[people/amarx/ipfire-3.x.git] / gpgme / patches / gpgme-1.2.0-largefile.patch
1 diff -up gpgme-1.2.0/src/gpgme-config.in.largefile gpgme-1.2.0/src/gpgme-config.in
2 --- gpgme-1.2.0/src/gpgme-config.in.largefile 2010-08-11 20:11:49.000000000 +0200
3 +++ gpgme-1.2.0/src/gpgme-config.in 2010-08-11 20:23:45.000000000 +0200
4 @@ -42,6 +42,10 @@ cflags_pthread=""
5 cflags_glib="@GLIB_CFLAGS@"
6 with_glib=
7
8 +if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then
9 + cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
10 +fi
11 +
12 output=""
13
14 usage()
15 @@ -101,6 +105,9 @@ while test $# -gt 0; do
16 exit 0
17 ;;
18 --cflags)
19 + if test "x$cflags_lfs" != "x"; then
20 + output="$output $cflags_lfs"
21 + fi
22 if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then
23 output="$output -I$includedir"
24 fi