From 0961a7fa1844c904c3bfdf3affafafb61aff2ab5fb945d22b6b33dd74662b77f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 11 May 2007 08:36:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=3 --- gnutls-fix_size_t.patch | 13 +++++++++++++ gnutls.changes | 6 ++++++ gnutls.spec | 7 ++++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gnutls-fix_size_t.patch diff --git a/gnutls-fix_size_t.patch b/gnutls-fix_size_t.patch new file mode 100644 index 0000000..c453f66 --- /dev/null +++ b/gnutls-fix_size_t.patch @@ -0,0 +1,13 @@ +Index: gnutls-1.6.1/src/tests.c +=================================================================== +--- gnutls-1.6.1.orig/src/tests.c ++++ gnutls-1.6.1/src/tests.c +@@ -50,7 +50,7 @@ int tls1_1_ok = 0; + /* keep session info */ + static char *session_data = NULL; + static char session_id[32]; +-static int session_data_size = 0, session_id_size = 0; ++static size_t session_data_size = 0, session_id_size = 0; + static int sfree = 0; + static int handshake_output = 0; + diff --git a/gnutls.changes b/gnutls.changes index 35a2fd3..da340f0 100644 --- a/gnutls.changes +++ b/gnutls.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 10 17:21:59 CEST 2007 - mkoenig@suse.de + +- Fix segfault on s390x [#97441] + gnutls-fix_size_t.patch + ------------------------------------------------------------------- Tue Jan 23 17:29:00 CET 2007 - mkoenig@suse.de diff --git a/gnutls.spec b/gnutls.spec index f2fbe86..6da2d7d 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -13,12 +13,13 @@ Name: gnutls BuildRequires: gcc-c++ libgcrypt-devel libopencdk-devel lzo-devel Version: 1.6.1 -Release: 2 +Release: 8 License: GNU General Public License (GPL) BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.gnutls.org/ Source0: %name-%version.tar.bz2 Patch0: gnutls-char-signedness.patch +Patch1: gnutls-fix_size_t.patch Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security Autoreqprov: on @@ -58,6 +59,7 @@ Authors: %prep %setup -q %patch0 +%patch1 -p1 %build autoreconf -fi @@ -121,6 +123,9 @@ rm -rf %buildroot %doc doc/examples doc/gnutls.html doc/*.png doc/gnutls.pdf doc/reference/html/* %changelog +* Thu May 10 2007 - mkoenig@suse.de +- Fix segfault on s390x [#97441] + gnutls-fix_size_t.patch * Tue Jan 23 2007 - mkoenig@suse.de - update to new stable branch 1.6.1: * Fix the list of trusted CAs that server's send to clients.