diff --git a/gwenhywfar-gnutls30.patch b/gwenhywfar-gnutls30.patch new file mode 100644 index 0000000..dfa49bd --- /dev/null +++ b/gwenhywfar-gnutls30.patch @@ -0,0 +1,12 @@ +diff -wbBur gwenhywfar-4.13.1/src/sio/syncio_tls.c gwenhywfar-4.13.1.my/src/sio/syncio_tls.c +--- gwenhywfar-4.13.1/src/sio/syncio_tls.c 2014-10-12 17:12:22.000000000 +0400 ++++ gwenhywfar-4.13.1.my/src/sio/syncio_tls.c 2015-04-16 14:54:53.288513328 +0300 +@@ -350,7 +350,7 @@ + } + + /* set default priority */ +-#if 1 /* old code */ ++#if 0 /* old code */ + GWEN_Gui_ProgressLog(0, GWEN_LoggerLevel_Error, I18N("Using old SSL preparation code.")); + rv=gnutls_set_default_priority(xio->session); + if (rv) { diff --git a/gwenhywfar.changes b/gwenhywfar.changes index e0f2a28..81268da 100644 --- a/gwenhywfar.changes +++ b/gwenhywfar.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 23 18:33:42 UTC 2015 - zaitor@opensuse.org + +- Add gwenhywfar-gnutls30.patch: Fix build with gnutls30, patch + taken from Arch linux. + ------------------------------------------------------------------- Fri Jan 30 13:28:41 UTC 2015 - zaitor@opensuse.org diff --git a/gwenhywfar.spec b/gwenhywfar.spec index cd443b3..cb6f4b3 100644 --- a/gwenhywfar.spec +++ b/gwenhywfar.spec @@ -26,6 +26,8 @@ License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries Url: http://www.aqbanking.de/ Source: %{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gwenhywfar-gnutls30.patch zaitor@opensuse.org -- Fix build with gnutls30, patch taken from Arch linux. +Patch0: gwenhywfar-gnutls30.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gnutls-devel >= 3.0 @@ -157,6 +159,7 @@ communication etc). %lang_package %prep %setup -q +%patch0 -p1 %build %configure\