forked from pool/pidgin-sipe
Accepting request 111654 from GNOME:Apps
Pushing G:A OBS-URL: https://build.opensuse.org/request/show/111654 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin-sipe?expand=0&rev=29
This commit is contained in:
parent
32b52f2bf0
commit
f1e24935c3
21
pidgin-sipe-gcc47.patch
Normal file
21
pidgin-sipe-gcc47.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- 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@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",
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 24 23:13:09 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add pidgin-sipe-gcc47.patch: Fix build with gcc 4.7; taken from
|
||||||
|
git.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 15 13:23:31 UTC 2012 - vuntz@opensuse.org
|
Thu Mar 15 13:23:31 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ License: GPL-2.0+
|
|||||||
Group: Productivity/Networking/Instant Messenger
|
Group: Productivity/Networking/Instant Messenger
|
||||||
Url: http://sipe.sourceforge.net/
|
Url: http://sipe.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-1.13.0/%{name}-%{version}.tar.bz2
|
Source: http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-1.13.0/%{name}-%{version}.tar.bz2
|
||||||
|
# PATCH-FIX-UPSTREAM pidgin-sipe-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7; fixed in git
|
||||||
|
Patch0: pidgin-sipe-gcc47.patch
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: glib2-devel >= 2.12.0
|
BuildRequires: glib2-devel >= 2.12.0
|
||||||
BuildRequires: gmime-devel
|
BuildRequires: gmime-devel
|
||||||
@ -96,6 +98,7 @@ various products:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user