- 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@" cflags_glib="@GLIB_CFLAGS@"
with_glib= 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@" + cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
+fi +fi
+ +

View File

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