Re: build of libharfbuzz0-shlibs-2.6.8-2 failed

Derek Homeier <[email protected]> Wed, 9 Oct 2024 16:34:36 +0200
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 9 Oct 2024, at 11:04 AM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> Thanks. Can you check with the new attached files? I found the upstream commit that directly references the above errors.

Thanks, hb-font.cc now compiles successfully, but after that another file is failing on the same conflict:

g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -DHB_DISABLE_DEPRECATED -I../src/ -I../src/ -I/opt/sw3/include/glib-2.0 -I/opt/sw3/lib/glib-2.0/include -I/opt/sw3/in
clude/freetype2 -I/opt/sw3/include/cairo -I/opt/sw3/include/freetype2  -I/opt/sw3/include  -fno-rtti -g -O2 -fno-exceptions -fno-threadsafe-statics -fvisibility
-inlines-hidden  -MT helper-cairo.o -MD -MP -MF .deps/helper-cairo.Tpo -c -o helper-cairo.o helper-cairo.cc
helper-cairo.cc:155:12: error: cast from 'void (*)(hb_font_t *)' to 'cairo_destroy_func_t' (aka 'void (*)(void *)') converts to incompatible function type [-Wer
ror,-Wcast-function-type-strict]
  155 |                                        (cairo_destroy_func_t) hb_font_destroy))
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

I don’t know where hb_font_destroy itself is declared, and could not find anything related on GitHub –
the file itself has been merged into helper-cairo.hh years ago (https://github.com/harfbuzz/harfbuzz/pull/3121)
but the respective code been completely removed sometime since.

					Derek



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users