[Bug 281680] multimedia/x265: maintainer upgrade to 4.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Sep 2024 19:07:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281680

--- Comment #12 from Robert Clausecker <fuz@FreeBSD.org> ---
emulators/fceux fails to build with attachment #253863:

/wrkdirs/usr/ports/emulators/fceux/work/fceux-2.6.6/src/drivers/Qt/AviRecord.cpp:463:8:
error: no matching function for call to 'x265_encoder_encode'
        ret = x265_encoder_encode( hdl, &nal, &i_nal, pic, &pic_out );
              ^~~~~~~~~~~~~~~~~~~
/usr/local/include/x265.h:2496:5: note: candidate function not viable: no known
conversion from 'x265_picture *' to 'x265_picture **' for 5th argument
int x265_encoder_encode(x265_encoder *encoder, x265_nal **pp_nal, uint32_t
*pi_nal, x265_picture *pic_in, x265_picture **pic_out);
    ^
/wrkdirs/usr/ports/emulators/fceux/work/fceux-2.6.6/src/drivers/Qt/AviRecord.cpp:496:12:
error: no matching function for call to 'x265_encoder_encode'
            ret = x265_encoder_encode( hdl, &nal, &i_nal, NULL, &pic_out );
                  ^~~~~~~~~~~~~~~~~~~
/usr/local/include/x265.h:2496:5: note: candidate function not viable: no known
conversion from 'x265_picture *' to 'x265_picture **' for 5th argument
int x265_encoder_encode(x265_encoder *encoder, x265_nal **pp_nal, uint32_t
*pi_nal, x265_picture *pic_in, x265_picture **pic_out);
    ^
2 errors generated.

If this is a known API change, I can try to engineer a patch to work around
this issue.  If not, please investigate and fix your patch if possible.  It may
be necessary to keep the old version in something like multimedia/x265v3 if API
differences prove to be insurmountable.

I'll try attachment #253871 once this run is complete (tomorrow-ish).

-- 
You are receiving this mail because:
You are the assignee for the bug.