Here is an update to libass 0.15.2. libass (0.15.2) * Fix some known 0.15.x regressions: * Fix Core Text font fallback failing on some fonts with multiple names * Fix DirectWrite failing to look up any but the first loaded variant of system fonts * Fix some format string bugs, which could lead to garbled log messages or on some platforms crashes * Fix ass_set_fonts_dir failing to load long paths * Better handling of control characters that have no associated font glyphs * DirectWrite: font lookup is now closer to VSFilter * DirectWrite: this font provider can now be built for UWP
Index: Makefile =================================================================== RCS file: /home/cvs/ports/multimedia/libass/Makefile,v retrieving revision 1.26 diff -u -p -u -p -r1.26 Makefile --- Makefile 2 Sep 2021 20:44:44 -0000 1.26 +++ Makefile 13 Sep 2021 05:20:59 -0000 @@ -2,7 +2,7 @@ COMMENT= portable ASS/SSA subtitle renderer -VER= 0.15.1 +VER= 0.15.2 DISTNAME= libass-${VER} CATEGORIES= multimedia devel MASTER_SITES= https://github.com/libass/libass/releases/download/${VER}/ Index: distinfo =================================================================== RCS file: /home/cvs/ports/multimedia/libass/distinfo,v retrieving revision 1.18 diff -u -p -u -p -r1.18 distinfo --- distinfo 2 Sep 2021 20:44:44 -0000 1.18 +++ distinfo 13 Sep 2021 05:21:02 -0000 @@ -1,2 +1,2 @@ -SHA256 (libass-0.15.1.tar.xz) = HN05ydAHsG5zfnc4AE1/OM+bHpKEPzcweyTn/2OrjlM= -SIZE (libass-0.15.1.tar.xz) = 369884 +SHA256 (libass-0.15.2.tar.xz) = G+LfnESFpX14uxjAqO0Ve8h6Wo3UjGYZYcYlyxEoMv0= +SIZE (libass-0.15.2.tar.xz) = 382036 Index: patches/patch-libass_Makefile_in =================================================================== RCS file: /home/cvs/ports/multimedia/libass/patches/patch-libass_Makefile_in,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-libass_Makefile_in --- patches/patch-libass_Makefile_in 2 Sep 2021 20:44:44 -0000 1.1 +++ patches/patch-libass_Makefile_in 13 Sep 2021 05:21:32 -0000 @@ -15,7 +15,7 @@ https://github.com/libass/libass/issues/ Index: libass/Makefile.in --- libass/Makefile.in.orig +++ libass/Makefile.in -@@ -844,7 +844,7 @@ uninstall-am: uninstall-dist_assheadersHEADERS \ +@@ -845,7 +845,7 @@ uninstall-am: uninstall-dist_assheadersHEADERS \ .asm.lo: Index: patches/patch-ltnasm_sh =================================================================== RCS file: /home/cvs/ports/multimedia/libass/patches/patch-ltnasm_sh,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-ltnasm_sh --- patches/patch-ltnasm_sh 2 Sep 2021 20:44:44 -0000 1.1 +++ patches/patch-ltnasm_sh 2 Sep 2021 21:14:13 -0000 @@ -15,19 +15,19 @@ https://github.com/libass/libass/issues/ Index: ltnasm.sh --- ltnasm.sh.orig +++ ltnasm.sh -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +#!/bin/sh + +# Translate libtool supplied C-compiler options for NASM. +# libtool treats NASM like the C compiler, and may supply -f??? options +# which are interpreted as the output file format by NASM, causing errors. -+# Notably libtool will set -DPIC -fPIC and -fno-common; we want to keep -+# -DPIC but remove everything else. ++# Notably libtool will set -DPIC -fPIC and -fno-common; ++# we want to use -DPIC by translating it to -DPIC=1, but remove everything else +# -+# Filtering the options as done here in this plain POSIX shell script would -+# mess up if there were any spaces in the arguments, but this will never happen -+# since our filenames or options do not contain spaces and source paths are -+# also not allowed to contain spaces. ++# Theoretically the way the filtering is done here in a plain POSIX shell script, ++# does mess up if there were spaces in any argument. However this will never happen ++# since neither our filenames nor options do not contain spaces and source paths ++# are not allowed to contain spaces by configure. + +cmd="" +while [ "$#" -gt 0 ] ; do @@ -43,5 +43,4 @@ Index: ltnasm.sh + shift +done + -+#echo "$cmd" +exec $cmd