SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/pidgin/patches/patch-pidgin_gtkconv_c
Normal file
15
net/pidgin/patches/patch-pidgin_gtkconv_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
The code expects a deterministic result otherwise the colour
|
||||
of the nick changes with each restart of Pidgin.
|
||||
|
||||
Index: pidgin/gtkconv.c
|
||||
--- pidgin/gtkconv.c.orig
|
||||
+++ pidgin/gtkconv.c
|
||||
@@ -10410,7 +10410,7 @@ generate_nick_colors(guint *color_count, GdkColor back
|
||||
pidgin_style_adjust_contrast(NULL, &nick_highlight);
|
||||
pidgin_style_adjust_contrast(NULL, &send_color);
|
||||
|
||||
- srand(background.red + background.green + background.blue + 1);
|
||||
+ srand_deterministic(background.red + background.green + background.blue + 1);
|
||||
|
||||
breakout_time = time(NULL) + 3;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue