- fix the condition for adding the -D_FILE_OFFSET_BITS...

This commit is contained in:
Tomas Mraz 2010-08-18 15:17:48 +02:00
parent 07d90f8262
commit 2c122df205
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ diff -up gpgme-1.2.0/src/gpgme-config.in.largefile gpgme-1.2.0/src/gpgme-config.
cflags_glib="@GLIB_CFLAGS@"
with_glib=
+if test "x@NEED__FILE_OFFSET_BITS@" != "x" ; then
+if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then
+ cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
+fi
+

View File

@ -2,7 +2,7 @@
Name: gpgme
Summary: GnuPG Made Easy - high level crypto API
Version: 1.2.0
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPLv2+
Group: Applications/System
@ -120,6 +120,9 @@ fi
%changelog
* Wed Aug 18 2010 Tomas Mraz <tmraz@redhat.com> - 1.2.0-3
- fix the condition for adding the -D_FILE_OFFSET_BITS...
* Wed Aug 11 2010 Tomas Mraz <tmraz@redhat.com> - 1.2.0-2
- add -D_FILE_OFFSET_BITS... to gpgme-config as appropriate (#621698)