FreeBSD Port: gpac-libgpac-1.0.0_1,1 error build

Jung-uk Kim jkim at FreeBSD.org
Mon Aug 3 17:37:40 UTC 2020


On 20. 8. 2., Kevin Oberman wrote:
> On Sat, Aug 1, 2020 at 10:15 PM Alex V. Petrov <alexvpetrov at gmail.com>
> wrote:
> 
>>   CC ../modules/x11_out/x11_out.c
>> ../modules/x11_out/x11_out.c:978:11: warning: implicit declaration of
>> function 'glXMakeCurrent' is invalid in C99
>>       [-Wimplicit-function-declaration]
>>                         if ( ! glXMakeCurrent(xWindow->display,
>> xWindow->fullscreen ? xWindow->full_wnd : xWindow->wnd, xWindow->glx_...
>>                                ^
>> ../modules/x11_out/x11_out.c:978:109: error: no member named
>> 'glx_context' in 'XWindow'
>>   ...if ( ! glXMakeCurrent(xWindow->display, xWindow->fullscreen ?
>> xWindow->full_wnd : xWindow->wnd, xWindow->glx_context) ) {
>>
>>                              ~~~~~~~  ^
>> 1 warning and 1 error generated.
>> gmake[3]: *** [../config.mak:147: ../modules/x11_out/x11_out.o] Error 1
>> gmake[3]: Leaving directory
>> '/usr/ports/multimedia/gpac-libgpac/work/gpac-1.0.0/src'
>> gmake[2]: *** [Makefile:40: lib] Error 2
>> gmake[2]: Leaving directory
>> '/usr/ports/multimedia/gpac-libgpac/work/gpac-1.0.0'
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /usr/ports/multimedia/gpac-libgpac
>> *** Error code 1
>>
>> Stop.
>> --
>> -----
>> Alex.
>>
> I opened bug id #248418 for this error earlier today,
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman at gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B05568

I just committed a fix.  Please try again.

Jung-uk Kim


More information about the freebsd-multimedia mailing list