Add fix for fd select race/lockup.

This commit is contained in:
Michael Schwendt 2004-12-14 00:46:51 +00:00
parent b37e2a4a4e
commit a5b8572a55
2 changed files with 17 additions and 1 deletions

11
gpgme-0.4.3-select.patch Normal file
View File

@ -0,0 +1,11 @@
diff -Nur gpgme-0.4.3-orig/gpgme/wait-private.c gpgme-0.4.3/gpgme/wait-private.c
--- gpgme-0.4.3-orig/gpgme/wait-private.c 2003-07-31 17:20:56.000000000 +0200
+++ gpgme-0.4.3/gpgme/wait-private.c 2004-12-13 20:15:43.758995584 +0100
@@ -121,6 +121,7 @@
_gpgme_engine_io_event (ctx->engine, GPGME_EVENT_DONE, &err);
return err;
}
+ break;
}
}

View File

@ -1,6 +1,6 @@
Name: gpgme
Version: 0.4.3
Release: 3
Release: 4
Epoch: 0
Summary: GnuPG Made Easy
@ -8,6 +8,7 @@ License: GPL
Group: Applications/System
URL: http://www.gnupg.org/related_software/gpgme/
Source: ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/gpgme-0.4.3.tar.gz
Patch: gpgme-0.4.3-select.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnupg >= 0:1.2.2, %{_bindir}/gpgsm, pth-devel
@ -33,6 +34,7 @@ Static libraries and header files from GPGME, GnuPG Made Easy.
%prep
%setup -q
%patch -p1 -b .select
%build
@ -83,6 +85,9 @@ fi
%changelog
* Tue Dec 14 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.4.3-4
- Add similar fd select race/lockup fix as for GPGME 0.3.16.
* Sun May 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.3-0.fdr.3
- Require %%{_bindir}/gpgsm instead of newpg.
- Cosmetic spec file improvements.