[pidgin-sipe] add patch to fix maybe-uninitialized errors for F17+
stefanb
stefanb at fedoraproject.org
Wed Mar 14 20:10:22 UTC 2012
commit 17bcf8fa0edda138ccb9669472d6a9516e0ee72c
Author: Stefan Becker <chemobejk at gmail.com>
Date: Wed Mar 14 22:10:18 2012 +0200
add patch to fix maybe-uninitialized errors for F17+
pidgin-sipe-1.13.0-fix-maybe-uninitialized.patch | 22 ++++++++++++++++++++++
pidgin-sipe.spec | 11 ++++++++---
2 files changed, 30 insertions(+), 3 deletions(-)
---
diff --git a/pidgin-sipe-1.13.0-fix-maybe-uninitialized.patch b/pidgin-sipe-1.13.0-fix-maybe-uninitialized.patch
new file mode 100644
index 0000000..5e6ccb5
--- /dev/null
+++ b/pidgin-sipe-1.13.0-fix-maybe-uninitialized.patch
@@ -0,0 +1,22 @@
+diff --git a/src/core/sipe-cal.c b/src/core/sipe-cal.c
+index 93bf58d..b9d15dc 100644
+--- a/src/core/sipe-cal.c
++++ b/src/core/sipe-cal.c
+@@ -3,7 +3,7 @@
+ *
+ * pidgin-sipe
+ *
+- * Copyright (C) 2010-11 SIPE Project <http://sipe.sourceforge.net/>
++ * Copyright (C) 2010-12 SIPE Project <http://sipe.sourceforge.net/>
+ * Copyright (C) 2009 pier11 <pier11 at operamail.com>
+ *
+ *
+@@ -674,7 +674,7 @@ sipe_cal_get_status(struct sipe_buddy *buddy,
+ const char* free_busy;
+ int ret = SIPE_CAL_NO_DATA;
+ time_t state_since;
+- int index;
++ int index = -1;
+
+ if (!buddy || !buddy->cal_start_time || !buddy->cal_granularity) {
+ SIPE_DEBUG_INFO("sipe_cal_get_status: no calendar data1 for %s, exiting",
diff --git a/pidgin-sipe.spec b/pidgin-sipe.spec
index d449aaf..1ffc09e 100644
--- a/pidgin-sipe.spec
+++ b/pidgin-sipe.spec
@@ -1,12 +1,13 @@
Name: pidgin-sipe
Version: 1.13.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Pidgin protocol plugin to connect to MS Office Communicator
Group: Applications/Internet
License: GPLv2+
URL: http://sipe.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-%{version}/pidgin-sipe-%{version}.tar.bz2
+Patch0: pidgin-sipe-1.13.0-fix-maybe-uninitialized.patch
BuildRequires: zlib-devel, libpurple-devel >= 2.8.0, e2fsprogs-devel, intltool
BuildRequires: krb5-devel, gettext, libxml2-devel, glib2-devel >= 2.28.0
@@ -50,6 +51,7 @@ This package provides the protocol plugin for libpurple clients.
%prep
%setup -q
+%patch0 -p1 -b .fix-maybe-uninitialized
%build
@@ -83,14 +85,17 @@ rm -rf %{buildroot}
%changelog
+* Wed Mar 14 2012 Stefan Becker <chemobejk at gmail.com> - 1.13.0-2
+- add patch to fix maybe-uninitialized errors for F17+
+
* Wed Mar 14 2012 Stefan Becker <chemobejk at gmail.com> - 1.13.0-1
- update to 1.13.0:
- support for Lync & Office365
- added [MS-SIPAE] TLS-DSK authentication scheme
- added [MS-DLX] based Get Info/Contact Search
- added experimental media TCP transport
-- added BR nss-devel
-- dropped obsolete patch to replace deprecated glib2 functions
+- add BR nss-devel
+- drop obsolete patch to replace deprecated glib2 functions
* Mon Jan 09 2012 Stefan Becker <chemobejk at gmail.com> - 1.12.0-3
- add patch to replace deprecated glib2 functions for F17+
More information about the scm-commits
mailing list