* Wed Aug 11 2010 Tomas Mraz <tmraz@redhat.com> - 1.2.0-2
- add -D_FILE_OFFSET_BITS... to gpgme-config as appropriate (#621698)
This commit is contained in:
parent
1391ec92f5
commit
07d90f8262
24
gpgme-1.2.0-largefile.patch
Normal file
24
gpgme-1.2.0-largefile.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -up gpgme-1.2.0/src/gpgme-config.in.largefile gpgme-1.2.0/src/gpgme-config.in
|
||||||
|
--- gpgme-1.2.0/src/gpgme-config.in.largefile 2010-08-11 20:11:49.000000000 +0200
|
||||||
|
+++ gpgme-1.2.0/src/gpgme-config.in 2010-08-11 20:23:45.000000000 +0200
|
||||||
|
@@ -42,6 +42,10 @@ cflags_pthread=""
|
||||||
|
cflags_glib="@GLIB_CFLAGS@"
|
||||||
|
with_glib=
|
||||||
|
|
||||||
|
+if test "x@NEED__FILE_OFFSET_BITS@" != "x" ; then
|
||||||
|
+ cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
output=""
|
||||||
|
|
||||||
|
usage()
|
||||||
|
@@ -101,6 +105,9 @@ while test $# -gt 0; do
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
--cflags)
|
||||||
|
+ if test "x$cflags_lfs" != "x"; then
|
||||||
|
+ output="$output $cflags_lfs"
|
||||||
|
+ fi
|
||||||
|
if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then
|
||||||
|
output="$output -I$includedir"
|
||||||
|
fi
|
@ -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: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -16,6 +16,9 @@ Patch1: gpgme-1.1.8-config_extras.patch
|
|||||||
# fix ImplicitDSOLinking in tests/, upstreamable
|
# fix ImplicitDSOLinking in tests/, upstreamable
|
||||||
Patch2: gpgme-1.2.0-ImplicitDSOLinking.patch
|
Patch2: gpgme-1.2.0-ImplicitDSOLinking.patch
|
||||||
|
|
||||||
|
# add -D_FILE_OFFSET_BITS... to gpgme-config, upstreamable
|
||||||
|
Patch3: gpgme-1.2.0-largefile.patch
|
||||||
|
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: gnupg2-smime
|
BuildRequires: gnupg2-smime
|
||||||
@ -51,6 +54,7 @@ Requires(postun): /sbin/install-info
|
|||||||
|
|
||||||
%patch1 -p1 -b .config_extras
|
%patch1 -p1 -b .config_extras
|
||||||
%patch2 -p1 -b .ImplicitDSOLinking
|
%patch2 -p1 -b .ImplicitDSOLinking
|
||||||
|
%patch3 -p1 -b .largefile
|
||||||
|
|
||||||
## HACK ALERT
|
## HACK ALERT
|
||||||
# The config script already suppresses the -L if it's /usr/lib, so cheat and
|
# The config script already suppresses the -L if it's /usr/lib, so cheat and
|
||||||
@ -116,6 +120,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 11 2010 Tomas Mraz <tmraz@redhat.com> - 1.2.0-2
|
||||||
|
- add -D_FILE_OFFSET_BITS... to gpgme-config as appropriate (#621698)
|
||||||
|
|
||||||
* Fri Jul 02 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2.0-1
|
* Fri Jul 02 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2.0-1
|
||||||
- gpgme-1.2.0 (#610984)
|
- gpgme-1.2.0 (#610984)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user