From be19e9ffcc75a262512020836ea025904b34f9fe Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sun, 2 Aug 2015 14:03:56 +0000 Subject: 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 --- audio/ncmpcpp/files/patch-src_mpdpp.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 audio/ncmpcpp/files/patch-src_mpdpp.h (limited to 'audio/ncmpcpp/files/patch-src_mpdpp.h') 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 + #include ++#include + #include + #include + +@@ -277,6 +278,8 @@ private: + std::string m_password; + + mpd_tag_type m_searched_field; ++ ++ std::mt19937 m_gen; + }; + + } -- cgit v1.2.3