From babddd9dd7649bb224dba1a1280167f887e07bce Mon Sep 17 00:00:00 2001 From: Ivy Snow Date: Mon, 29 Jan 2018 18:33:18 +0800 Subject: [PATCH] fixed: error LNK2001: unresolved external symbol _INT123_dct36_sse https://github.com/Microsoft/vcpkg/issues/1976 --- ports/mpg123/0002-fix-x86-build.patch | 13 +++++++++++++ ports/mpg123/CONTROL | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ports/mpg123/0002-fix-x86-build.patch b/ports/mpg123/0002-fix-x86-build.patch index d7d3887b78..2d0b10b812 100644 --- a/ports/mpg123/0002-fix-x86-build.patch +++ b/ports/mpg123/0002-fix-x86-build.patch @@ -22,3 +22,16 @@ index 6012ccc..bf37cd7 100644 #define FUNC ASM_NAME #define EXTERNAL_FUNC ASM_NAME #define GET_GOT +diff --git a/ports/MSVC++/2015/win32/libmpg123/libmpg123.vcxproj b/ports/MSVC++/2015/win32/libmpg123/libmpg123.vcxproj +index 1edf77d..f78999b 100644 +--- a/ports/MSVC++/2015/win32/libmpg123/libmpg123.vcxproj ++++ b/ports/MSVC++/2015/win32/libmpg123/libmpg123.vcxproj +@@ -700,7 +700,7 @@ yasm -a x86 -p gas -r raw -f win32 -g null -m x86 -o "$(IntDir)synth_stereo_sse_ + + + +- Shlwapi.lib;dct36_3dnow.o;dct36_3dnowext.o;dct64_3dnow.o;dct64_3dnowext.o;dct64_mmx.o;dct64_sse.o;dct64_sse_float.o;equalizer_3dnow.o;getcpuflags.o;synth_3dnow.o;synth_3dnowext.o;synth_i586.o;synth_mmx.o;synth_sse.o;synth_sse_float.o;synth_stereo_sse_float.o;tabinit_mmx.o;synth_sse_accurate.o;synth_sse_s32.o;synth_stereo_sse_accurate.o;synth_stereo_sse_s32.o;%(AdditionalDependencies) ++ Shlwapi.lib;dct36_3dnow.o;dct36_3dnowext.o;dct36_sse.o;dct64_3dnow.o;dct64_3dnowext.o;dct64_mmx.o;dct64_sse.o;dct64_sse_float.o;equalizer_3dnow.o;getcpuflags.o;synth_3dnow.o;synth_3dnowext.o;synth_i586.o;synth_mmx.o;synth_sse.o;synth_sse_float.o;synth_stereo_sse_float.o;tabinit_mmx.o;synth_sse_accurate.o;synth_sse_s32.o;synth_stereo_sse_accurate.o;synth_stereo_sse_s32.o;%(AdditionalDependencies) + $(IntDir);%(AdditionalLibraryDirectories) + true + diff --git a/ports/mpg123/CONTROL b/ports/mpg123/CONTROL index f64ae5c568..f724374538 100644 --- a/ports/mpg123/CONTROL +++ b/ports/mpg123/CONTROL @@ -1,3 +1,3 @@ Source: mpg123 -Version: 1.25.8-1 +Version: 1.25.8-2 Description: mpg123 is a real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (MPEG 1.0 layer 3 also known as MP3). \ No newline at end of file