From 39516a6d7e56d35f5d6f501f5e996b5b9c817de6 Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Tue, 12 Mar 2019 14:50:45 +0100 Subject: [PATCH] contrib: mpg123: don't detect unicode with PathCombineW on Winstore It's not available and won't be used. But the build fails if it's not detected. --- contrib/src/mpg123/winstore.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/contrib/src/mpg123/winstore.patch b/contrib/src/mpg123/winstore.patch index 416faeaba925..d32515632961 100644 --- a/contrib/src/mpg123/winstore.patch +++ b/contrib/src/mpg123/winstore.patch @@ -75,3 +75,23 @@ #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> +--- mpg123/configure.ac.winstore 2019-03-12 14:32:33.852490800 +0100 ++++ mpg123/configure.ac 2019-03-12 14:44:17.475401200 +0100 +@@ -2202,7 +2202,7 @@ if test "x$win32_specific_codes" = xenab + { + MultiByteToWideChar (0, 0, NULL, 0, NULL, 0); + WideCharToMultiByte (0, 0, NULL, 0, NULL, 0, NULL, NULL); +- PathCombineW(0,0,0); ++ //PathCombineW(0,0,0); + return 0; + } + ])], [win32_wide_working=yes], [win32_winver_bump=yes]) +@@ -2217,7 +2217,7 @@ if test "x$win32_specific_codes" = xenab + { + MultiByteToWideChar (0, 0, NULL, 0, NULL, 0); + WideCharToMultiByte (0, 0, NULL, 0, NULL, 0, NULL, NULL); +- PathCombineW(0,0,0); ++ //PathCombineW(0,0,0); + return 0; + } + ])], [win32_wide_working=yes], [AC_MSG_RESULT([no])]) -- GitLab