diff options
Diffstat (limited to 'kde/patch')
-rw-r--r-- | kde/patch/kcoreaddons.patch | 5 | ||||
-rw-r--r-- | kde/patch/kcoreaddons/kcoreaddons.kdebug_362161.patch | 27 |
2 files changed, 32 insertions, 0 deletions
diff --git a/kde/patch/kcoreaddons.patch b/kde/patch/kcoreaddons.patch new file mode 100644 index 0000000..ee8ddde --- /dev/null +++ b/kde/patch/kcoreaddons.patch @@ -0,0 +1,5 @@ +# KDEBUG #362161 (fixed in Frameworks 5.22.0): +# Fixes regression introduced in 9ae6d765b37135bbfe3a8b936e5a88b8a435e424 +# Since the rand() was not seeded, the numbers generated were predictable. +cat $CWD/patch/kcoreaddons/kcoreaddons.kdebug_362161.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + 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) + |