devel/gpgme gpgme-1.0.2-macro.patch,NONE,1.1 gpgme.spec,1.7,1.8

Ville Skytta (scop) fedora-extras-commits at redhat.com
Fri Mar 18 11:15:57 UTC 2005


Author: scop

Update of /cvs/extras/devel/gpgme
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26273

Modified Files:
	gpgme.spec 
Added Files:
	gpgme-1.0.2-macro.patch 
Log Message:
Fix FC4 build.

gpgme-1.0.2-macro.patch:

--- NEW FILE gpgme-1.0.2-macro.patch ---
--- gpgme/ath-compat.c~	2004-12-07 23:11:52.000000000 +0200
+++ gpgme/ath-compat.c	2005-03-18 12:54:44.000000000 +0200
@@ -108,7 +108,7 @@
 ath_read (int fd, void *buf, size_t nbytes)
 {
   if (ath_ops && ath_ops->read)
-    return ath_ops->read (fd, buf, nbytes);
+    return (ath_ops->read) (fd, buf, nbytes);
   else
     return read (fd, buf, nbytes);
 }


Index: gpgme.spec
===================================================================
RCS file: /cvs/extras/devel/gpgme/gpgme.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gpgme.spec	3 Mar 2005 21:26:03 -0000	1.7
+++ gpgme.spec	18 Mar 2005 11:15:55 -0000	1.8
@@ -1,12 +1,13 @@
 Name:    gpgme
 Version: 1.0.2
-Release: 1%{?dist_tag}
+Release: 2%{?dist_tag}
 Summary: GnuPG Made Easy - high level crypto API
 License: LGPL
 Group:   Applications/System
 URL:     http://www.gnupg.org/related_software/gpgme/
 Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.0.2.tar.bz2
 Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.0.2.tar.bz2.sig
+Patch0:  %{name}-1.0.2-macro.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: gnupg >= 1.2.2
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 
 %build
@@ -92,6 +94,9 @@
 
 
 %changelog
+* Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.2-2
+- Fix FC4 build.
+
 * Tue Feb  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:1.0.2-1
 - LGPL used here, and made summary more explicit.
 - Remove dirmngr dependency (gpgsm interfaces with it).




More information about the fedora-extras-commits mailing list