diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2015-08-02 14:03:56 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2015-08-02 14:03:56 +0000 |
commit | be19e9ffcc75a262512020836ea025904b34f9fe (patch) | |
tree | 79a1c7c2ab19b721d6d353742455da970a336de6 /audio/ncmpcpp/files/patch-src_mpdpp.h | |
parent | Add debug output in an attempt to figure out why certain tests fail on (diff) |
Fix shuffle playback
(random number generator is not initialised properly)
While on it:
Pet portlint
PR: 201645
Submitted by: yamagi@yamagi.org (maintainer)
MFH: 2015Q3
Notes
Notes:
svn path=/head/; revision=393424
Diffstat (limited to 'audio/ncmpcpp/files/patch-src_mpdpp.h')
-rw-r--r-- | audio/ncmpcpp/files/patch-src_mpdpp.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/ncmpcpp/files/patch-src_mpdpp.h b/audio/ncmpcpp/files/patch-src_mpdpp.h new file mode 100644 index 000000000000..31c1f17e81b8 --- /dev/null +++ b/audio/ncmpcpp/files/patch-src_mpdpp.h @@ -0,0 +1,19 @@ +--- src/mpdpp.h.orig 2015-07-05 02:18:34 UTC ++++ src/mpdpp.h +@@ -23,6 +23,7 @@ + + #include <cassert> + #include <exception> ++#include <random> + #include <set> + #include <vector> + +@@ -277,6 +278,8 @@ private: + std::string m_password; + + mpd_tag_type m_searched_field; ++ ++ std::mt19937 m_gen; + }; + + } |