packages: gpgme/gpgme.spec, gpgme/gpgme-1.2.0-largefile.patch (NEW) - rel 3...

arekm arekm at pld-linux.org
Thu Feb 3 00:12:00 CET 2011


Author: arekm                        Date: Wed Feb  2 23:12:00 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; largefile patch from fc

---- Files affected:
packages/gpgme:
   gpgme.spec (1.85 -> 1.86) , gpgme-1.2.0-largefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gpgme/gpgme.spec
diff -u packages/gpgme/gpgme.spec:1.85 packages/gpgme/gpgme.spec:1.86
--- packages/gpgme/gpgme.spec:1.85	Sun Sep 12 19:52:16 2010
+++ packages/gpgme/gpgme.spec	Thu Feb  3 00:11:55 2011
@@ -11,7 +11,7 @@
 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
@@ -19,6 +19,7 @@
 # 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
@@ -74,6 +75,7 @@
 %setup -q
 %patch0 -p1
 %{!?with_tests:%patch1 -p1}
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -145,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.86  2011/02/02 23:11:55  arekm
+- rel 3; largefile patch from fc
+
 Revision 1.85  2010/09/12 17:52:16  gotar
 - devel R: libassuan-devel >= 1:1.1.0, rel. 2
 

================================================================
Index: packages/gpgme/gpgme-1.2.0-largefile.patch
diff -u /dev/null packages/gpgme/gpgme-1.2.0-largefile.patch:1.1
--- /dev/null	Thu Feb  3 00:12:00 2011
+++ packages/gpgme/gpgme-1.2.0-largefile.patch	Thu Feb  3 00:11:54 2011
@@ -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 at 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gpgme/gpgme.spec?r1=1.85&r2=1.86&f=u



More information about the pld-cvs-commit mailing list