]> git.pld-linux.org Git - packages/gpgme.git/commitdiff
- rel 3; largefile patch from fc auto/th/gpgme-1_3_0-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 2 Feb 2011 23:11:55 +0000 (23:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gpgme-1.2.0-largefile.patch -> 1.1
    gpgme.spec -> 1.86

gpgme-1.2.0-largefile.patch [new file with mode: 0644]
gpgme.spec

diff --git a/gpgme-1.2.0-largefile.patch b/gpgme-1.2.0-largefile.patch
new file mode 100644 (file)
index 0000000..98f9039
--- /dev/null
@@ -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 "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; 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
index b48044d919d88d2e45d5d273f27ff66f14fa65b1..4315c5faef232d3d6e7b77e9aab1e960c04d927a 100644 (file)
@@ -10,7 +10,7 @@ Summary:      Library for accessing GnuPG
 Summary(pl.UTF-8):     Biblioteka dająca dostęp do funkcji GnuPG
 Name:          gpgme
 Version:       1.3.0
-Release:       2
+Release:       3
 Epoch:         1
 License:       LGPL v2.1+
 Group:         Libraries
@@ -18,6 +18,7 @@ Source0:      ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
 # Source0-md5: 4784e3c6086c9c25e9a1b4d9f7c5aa96
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-kill-tests.patch
+Patch2:                %{name}-1.2.0-largefile.patch
 URL:           http://www.gnupg.org/gpgme.html
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.10
@@ -73,6 +74,7 @@ Statyczna wersja biblioteki GPGME.
 %setup -q
 %patch0 -p1
 %{!?with_tests:%patch1 -p1}
+%patch2 -p1
 
 %build
 %{__libtoolize}
This page took 0.228182 seconds and 4 git commands to generate.