From 7853e7abe228be9effafa78828ba4c6b64447975 Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Mon, 7 Jan 2019 21:23:56 -0500 Subject: [PATCH] Update libass Worth noting that this does NOT currently build, thanks to a few lines in libass that are not compatible with vc++. I'll bump the libass commit when MrSmile's pr gets merged and this is remedied. You can apply this commit to remedy that: https://github.com/libass/libass/pull/321/commits/5317a8dd897a1b6481c1d77e16443f8fdb7621df Also worth noting that while libass switched to nasm, I haven't done so here because it wasn't worth the effort, so I just made a questionable change to the yasm.targets to emulate nasm behavior --- build/libass/libass.vcxproj | 23 +++++++---- build/libass/libass.vcxproj.filters | 60 +++++++++++++++++++---------- build/yasm.targets | 2 +- vendor/libass | 2 +- 4 files changed, 58 insertions(+), 29 deletions(-) diff --git a/build/libass/libass.vcxproj b/build/libass/libass.vcxproj index bf3047710..cf21877c8 100644 --- a/build/libass/libass.vcxproj +++ b/build/libass/libass.vcxproj @@ -29,6 +29,7 @@ inline=__inline; FRIBIDI_ENTRY=; + _USE_MATH_DEFINES=; %(PreprocessorDefinitions) @@ -37,8 +38,8 @@ ass\ - %(Config) -DARCH_X86_64=0 -DPREFIX -DHAVE_ALIGNED_STACK=0 - %(Config) -DARCH_X86_64=1 -DHAVE_ALIGNED_STACK=1 + %(Config) -DARCH_X86_64=0 -DPREFIX -DHAVE_ALIGNED_STACK=0 -DHAVE_CPUNOP=1 + %(Config) -DARCH_X86_64=1 -DHAVE_ALIGNED_STACK=1 -DHAVE_CPUNOP=1 @@ -54,39 +55,47 @@ + - + + + + + + + + + - - + - - + + diff --git a/build/libass/libass.vcxproj.filters b/build/libass/libass.vcxproj.filters index db35379ba..9623c769c 100644 --- a/build/libass/libass.vcxproj.filters +++ b/build/libass/libass.vcxproj.filters @@ -13,10 +13,6 @@ {56793734-89BD-4b04-88EB-625FBE52EBFB} asm - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - @@ -31,24 +27,21 @@ Assembly Files - - Assembly Files - - - Assembly Files - - - Assembly Files - Assembly Files - + Assembly Files - - + + Assembly Files - + + + Assembly Files + + + Assembly Files + @@ -63,39 +56,60 @@ Header Files + + Header Files + + + Header Files + Header Files Header Files + + Header Files + + + Header Files + Header Files + + Header Files + Header Files + + Header Files + Header Files Header Files + + Header Files + Header Files Header Files + + Header Files + Header Files Header Files - - Header Files - @@ -110,6 +124,9 @@ Source Files + + Source Files + Source Files @@ -122,6 +139,9 @@ Source Files + + Source Files + Source Files diff --git a/build/yasm.targets b/build/yasm.targets index bacd151e6..57fde6103 100644 --- a/build/yasm.targets +++ b/build/yasm.targets @@ -58,7 +58,7 @@ > <_Yasm> - %(Include) -I%(RootDir)%(Directory) + %(Include) -I%(RootDir)%(Directory)..\ %(OutputDir) $(AegisubObjectDir)%(OutputDir) diff --git a/vendor/libass b/vendor/libass index cfa1a61e3..98727c3b7 160000 --- a/vendor/libass +++ b/vendor/libass @@ -1 +1 @@ -Subproject commit cfa1a61e39f218fe4dc288ddf44b85200ff35fdd +Subproject commit 98727c3b78f44cb3bbc955fcf5d977ebd911d5ca