mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix a crash with the cap plugin.
PR: 176851 Submitted by: Ivan Klymenko <fidaj@ukr.net>
This commit is contained in:
parent
80b5857dd6
commit
fdfeee3f1b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315159
2 changed files with 12 additions and 1 deletions
11
net-im/libpurple/files/patch-pidgin_plugins_cap_cap.c
Normal file
11
net-im/libpurple/files/patch-pidgin_plugins_cap_cap.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- pidgin/plugins/cap/cap.c.orig 2013-03-24 20:34:29.882262000 +0000
|
||||||
|
+++ pidgin/plugins/cap/cap.c 2013-03-24 20:34:39.576121000 +0000
|
||||||
|
@@ -43,7 +43,7 @@ static double generate_prediction_for(Pu
|
||||||
|
int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold");
|
||||||
|
int min_minute = (current_minute - threshold) % 1440;
|
||||||
|
int max_minute = (current_minute + threshold) % 1440;
|
||||||
|
- char *sql, sta_id = NULL;
|
||||||
|
+ char *sql, *sta_id = NULL;
|
||||||
|
sqlite3_stmt *stmt = NULL;
|
||||||
|
const char *tail = NULL;
|
||||||
|
int rc;
|
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= pidgin
|
PORTNAME= pidgin
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
|
|
||||||
MAINTAINER= marcus@FreeBSD.org
|
MAINTAINER= marcus@FreeBSD.org
|
||||||
COMMENT= Pidgin multi-protocol messaging client (GTK+ UI)
|
COMMENT= Pidgin multi-protocol messaging client (GTK+ UI)
|
||||||
|
|
Loading…
Add table
Reference in a new issue