Here is an update to libass 0.17.5.
libass (0.17.5)
* Fix limited OOB read and write in wrap_lines_measure (GHSA-pjjp-65r7-ppgm;
CVE pending)
* Fix OOB bit clears for negative Matroska ReadOrder fields
(GHSA-5gf7-wjfm-vmvm; CVE pending)
* Fix \fay with glyph clusters
* Fix small alpha changes not always splitting runs when combined with fade
* Fix compilation with MSVC-mode clang
* Fades are now applied to BorderStyle=4 boxes too
* Fonts using legacy arabic Windows charmaps are now supported
* ass_render_frame no longer returns fully transparent images
* Avoid MSVC???s subpar code generation for isnan to bring performance closer
to other compilers
* Avoid SSE instructions if compiler baseline already includes AVX
libass (0.17.4)
* add new API to prune old events from memory
* ass_prune_events for manual pruning
* ass_configure_prune to set up automatic pruning
* add ASS_OVERRIDE_BIT_BLUR flag
* fontconfig: fix minor memory leaks in pathological font setups
* coretext: fix build on older compilers or Mac OS X 10.5
* checkasm: fix build for older compilers
* aarch64: fix assembly build on strict compilers due to oversized align
* meson: improve ASM configuration on x86 Android
* meson: align MSVC warnings and optimisations closer to gcc-like compilers
* meson can now build all dev utility executables
Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/libass/Makefile,v
retrieving revision 1.34
diff -u -p -u -p -r1.34 Makefile
--- Makefile 29 Oct 2024 12:29:35 -0000 1.34
+++ Makefile 3 Jul 2026 21:12:42 -0000
@@ -1,12 +1,12 @@
COMMENT= portable ASS/SSA subtitle renderer
-VER= 0.17.3
+VER= 0.17.5
DISTNAME= libass-${VER}
CATEGORIES= multimedia devel
SITES= https://github.com/libass/libass/releases/download/${VER}/
EXTRACT_SUFX= .tar.xz
-SHARED_LIBS= ass 3.2
+SHARED_LIBS= ass 3.3
HOMEPAGE= https://github.com/libass/libass
@@ -15,8 +15,9 @@ MAINTAINER= Brad Smith <[email protected]
# ISC
PERMIT_PACKAGE= Yes
-WANTLIB= ${COMPILER_LIBCXX} expat fontconfig freetype fribidi glib-2.0 \
- graphite2 harfbuzz iconv intl m pcre2-8 unibreak z
+WANTLIB= fontconfig freetype fribidi harfbuzz iconv m unibreak
+
+MODULES= devel/meson
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c
@@ -30,9 +31,10 @@ LIB_DEPENDS= converters/libiconv \
devel/harfbuzz \
textproc/libunibreak
-CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+=-Ddefault_library=both \
+ -Ddirectwrite=disabled \
+ -Dcoretext=disabled
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- ASFLAGS="-DPIC"
+ LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/libass/distinfo,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 distinfo
--- distinfo 29 Oct 2024 12:29:35 -0000 1.22
+++ distinfo 3 Jul 2026 21:12:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (libass-0.17.3.tar.xz) = 6uQl2lDwAVwh97OpxyYqkQ8CGK9GniLikxRi/tPFCVk=
-SIZE (libass-0.17.3.tar.xz) = 442744
+SHA256 (libass-0.17.5.tar.xz) = LcolwODIN93wC1IBGz+CysHk3dOtAYIngGsMIoiGSsw=
+SIZE (libass-0.17.5.tar.xz) = 460148
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/multimedia/libass/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST 11 Mar 2022 19:39:20 -0000 1.5
+++ pkg/PLIST 3 Jul 2026 21:12:42 -0000
@@ -2,6 +2,5 @@ include/ass/
include/ass/ass.h
include/ass/ass_types.h
@static-lib lib/libass.a
-lib/libass.la
@lib lib/libass.so.${LIBass_VERSION}
lib/pkgconfig/libass.pc