summaryrefslogtreecommitdiffstats
path: root/kde/patch/kcoreaddons
diff options
context:
space:
mode:
Diffstat (limited to 'kde/patch/kcoreaddons')
-rw-r--r--kde/patch/kcoreaddons/kcoreaddons.kdebug_362161.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/kde/patch/kcoreaddons/kcoreaddons.kdebug_362161.patch b/kde/patch/kcoreaddons/kcoreaddons.kdebug_362161.patch
new file mode 100644
index 0000000..31bbcf7
--- /dev/null
+++ b/kde/patch/kcoreaddons/kcoreaddons.kdebug_362161.patch
@@ -0,0 +1,27 @@
+From: Albert Astals Cid <aacid@kde.org>
+Date: Tue, 26 Apr 2016 21:41:27 +0000
+Subject: Missing rand() -> qrand
+X-Git-Url: http://quickgit.kde.org/?p=kcoreaddons.git&a=commitdiff&h=78212436643af95779facd9593c82fb149c2213d
+---
+Missing rand() -> qrand
+
+Fixes regression introduced in 9ae6d765b37135bbfe3a8b936e5a88b8a435e424
+
+Reviewed by Aleix
+
+BUGS: 362161
+---
+
+
+--- a/src/lib/randomness/krandom.cpp
++++ b/src/lib/randomness/krandom.cpp
+@@ -51,7 +51,7 @@
+ }
+ qsrand(seed);
+ }
+- return rand();
++ return qrand();
+ }
+
+ QString KRandom::randomString(int length)
+