SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;