Changes between Initial Version and Version 1 of Ticket #64677
- Timestamp:
- Feb 16, 2022, 5:08:13 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64677
-
Property
Summary
changed from
libass fix for PowerPC
tolibass fix for PowerPC (please close the ticket, fix unneeded)
-
Property
Summary
changed from
-
Ticket #64677 – Description
initial v1 1 1. Portfile must invoke `macports-gcc-7`, as `gcc-4.2` fails to build it. 2 Adding this works: 1 UPD. Sorry, it failed before due to unrelated problem, it seems. It does build with gcc7: 2 3 3 4 4 {{{ 5 compiler.whitelist macports-gcc-7 5 36-47:~ svacchanda$ port -v installed libass 6 The following ports are currently installed: 7 libass @0.15.2_0 (active) requested_variants='-universal' platform='darwin 9' archs='ppc' date='2022-02-17T01:04:05+0800' 6 8 }}} 7 8 Otherwise (and perhaps better) we can just ban `gcc-4.0` and `gcc-4.2`.9 10 2. There is one problem with the source in `ass_coretext.c`:11 12 {{{13 static bool is_postscript_font_format(CFNumberRef cfformat)14 {15 bool ret = false;16 int format;17 if (CFNumberGetValue(cfformat, kCFNumberIntType, &format)) {18 ret = format == kCTFontFormatOpenTypePostScript ||19 format == kCTFontFormatPostScript;20 }21 return ret;22 }23 }}}24 25 Once kCTFontFormatOpenTypePostScript is removed, libass builds. I am not sure it is an optimal fix though.26 Opened a ticket here: https://github.com/libass/libass/issues/595