From c79ea2360db6f025431e6e53bd4305101361232f Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Thu, 26 Oct 2017 23:34:57 +0200 Subject: [PATCH] Added 'mpg123' patch file. --- .../mpg123-Mingw-w64-WinXP-CompatFix.V1.diff | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 etc/Patches/mpg123-Mingw-w64-WinXP-CompatFix.V1.diff diff --git a/etc/Patches/mpg123-Mingw-w64-WinXP-CompatFix.V1.diff b/etc/Patches/mpg123-Mingw-w64-WinXP-CompatFix.V1.diff new file mode 100644 index 00000000..87b90816 --- /dev/null +++ b/etc/Patches/mpg123-Mingw-w64-WinXP-CompatFix.V1.diff @@ -0,0 +1,16 @@ + src/playlist.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/playlist.c b/src/playlist.c +index b5108b2..8abfa98 100644 +--- a/src/playlist.c ++++ b/src/playlist.c +@@ -266,7 +266,7 @@ void free_playlist(void) + /* the constructor... */ + static void init_playlist(void) + { +- SRAND(time(NULL)); ++ SRAND((unsigned int)_time64(NULL)); + pl.file = NULL; + pl.entry = 0; + pl.playcount = 0;