$OpenBSD: patch-pidgin_gtkconv_c,v 1.3 2018/04/28 16:58:39 ajacoutot Exp $

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
@@ -10275,7 +10275,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;
 
